Newer Version Available
Update Member Details
Update personal and preference details of a member.
Example URL
1/connect/loyalty/programs/DemoProgram/program-processes/updateMemberDetailsThe request and response parameters vary depending on the input and output parameters configured for the UpdateMemberDetails process in a Salesforce org.
Sample JSON Request
The value of a default request parameter can be an ID, a name, or a number, as shown in the following samples.
Sample1
1{
2 "processParameters":[
3 {
4 "MemberId":"007",
5 "EnrollmentDate":"2022-07-09",
6 "LastName":"Smith",
7 "FirstName":"Adam",
8 "Email":"adam.smith@nto.com"
9 }
10 ]
11}Sample2
1{
2 "processParameters":[
3 {
4 "CurrentMembershipNumber":"007",
5 "MembershipNumber":"007",
6 "EnrollmentDate":"2022-07-09",
7 "LastName":"Smith",
8 "FirstName":"Adam",
9 "Email":"adam.smith@nto.com"
10 }
11 ]
12}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}