Newer Version Available
Update Member Details
Update personal and preference details of a member.
Example URL
1https://yourInstance.salesforce.com/services/data/v58.0/connect/loyalty/programs/DemoProgram/program-processes/Update Member DetailsThe request and response parameters vary depending on the input and output parameters configured for the UpdateMemberDetails process type in a Salesforce org.
Sample JSON Request
Here's an example with a member ID:
1{
2 "processParameters":[
3 {
4 "MemberId":"0lMRM0000004G5h2AE",
5 "MembershipNumber":"M1234",
6 "Email":"adam.smith@nto.com",
7 "EnrollmentDate":"2023-05-28",
8 "LastName":"Smith"
9 }
10 ]
11}Here's an example with a current membership number:
1{
2 "processParameters":[
3 {
4 "CurrentMembershipNumber":"M1234",
5 "MembershipNumber":"M1234",
6 "Email":"adam.smith@nto.com",
7 "EnrollmentDate":"2023-05-28",
8 "LastName":"Smith"
9 }
10 ]
11}Sample JSON Response
1{
2 "message":null,
3 "outputParameters":{
4 "outputParameters":{
5 "results":[
6 {
7 "MemberId":"0lMRM0000004F102AE",
8 "ContactId":"003RM0000088CugYAE",
9 "TransactionJournalId":null
10 }
11 ]
12 }
13 },
14 "simulationDetails":{
15
16 },
17 "status":true
18}