Unmerge Memberships Action

Unmerges loyalty program member records have a Merged status. The action unmerges memberships that are in the Merged status from the membership that it was previously merged with. After the unmerge is complete, the status of the Loyalty Program Member Merge record that was created during the merge is changed to Unmerged. The members are reassigned to the tier that was assigned to them before the merge. They are also credited with the points and transferred the vouchers they had before the membership was merged.

For more information about how the unmergeLoyaltyProgramMembership action unmerges loyalty program memberships, see Unmerge Memberships in Salesforce Help.

This action is available in API version 56.0 and later for users in orgs where Loyalty Management is enabled.

Supported REST HTTP Methods 

URI: /services/data/vXX.X/actions/standard/unmergeLoyaltyProgramMembership

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer token

Inputs 

InputTypeDescription
mergedLoyaltyProgramMemberIdIDRequired. The ID of the merged loyalty program member record to be unmerged.

Outputs 

OutputTypeDescription
errorsList<String>A list of error messages if the operation fails.
isSuccessBooleanIndicates whether the operation is successful or not.

Examples 

Sample Request

1{
2   "inputs": [ {
3      "mergedLoyaltyProgramMemberId":"0lMT100000001JnMAK"
4   } ]
5}

Sample Response

1[ {
2  "actionName" : "unmergeLoyaltyProgramMembership",
3  "errors" : null,
4  "isSuccess" : true
5} ]

See Also