Newer Version Available

This content describes an older version of this product. View Latest

Unenroll a Member

Unenroll a member from a loyalty program.

Example URL

1https://yourInstance.salesforce.com/services/data/v58.0/connect/loyalty/programs/DemoProgram/program-processes/unenroll Member

The request and response parameters vary depending on the input and output parameters configured for the UnenrollMember process type in a Salesforce org.

Sample JSON Requests

Some of the API request fields contain field names that are interchangeable. For information on the list of interchangeable field names, see Loyalty Management Connect API Interchangeable Request Fields.

Note

Here's an example with a member ID:

1{
2   "processParameters":[
3      {
4         "MemberId":"0lMRM0000004G6f2AE"
5      }
6   ]
7}

Here's an example with a membership number:

1{
2   "processParameters":[
3      {
4         "CurrentMembershipNumber":"007"
5      }
6   ]
7}

Sample JSON Response

1{
2   "message":null,
3   "outputParameters":{
4      "outputParameters":{
5         "results":[
6            {
7               "MemberId":"0lMRM0000004F152AE"
8            }
9         ]
10      }
11   },
12   "simulationDetails":{
13      
14   },
15   "status":true
16}