Merge Multiple Members
As a Loyalty administrator, you might find that handling members with duplicate attributes to be challenging to deal with in terms of such things as administrative overhead, scope of misuse, and traceability of members. Member Merge allows you to merge multiple members of the same program together, to a maximum of 5 members, into a single member with all the related aspects merged into the new member. The survivor member is retained as Active with the merged attributes and accumulations, whereas the rest of the victim members are classified as Merged.
mergeMembers
. The input parameters for this method call are the surviving member number (300100169069466) and the list of victim member numbers to be merged (300100169069468 and 300100169070390).
Example URL
The following is an example of the resource URL.
POST
https://example.com:port/crmRestApi/resources/11.13.18.05/loyMembers
Example Header Values
The following table shows the header values.
Key | Value |
---|---|
Authorization | Gets populated when Basic Auth is set under Authorization |
Content-Type | application/vnd.oracle.adf.action+json |
rest-framework-version | 4 |
Example Request Body
The following is an example of the request body.
{
"name" : "mergeMembers", "parameters" : [
{
"survivingMemberNumber" : "300100169069466"
},
{
"memberNumbersToBeMerged" : ["300100169069468","300100169070390"]
}
]
}
Example Response Body
The following is the example response body showing the status and surviving member number when the merge is successful.
{
"result": "{\"Status\":\"Success\",\"Surviving Member Number\":\"300100169069466\"}"
}