Update Member Details
Update personal and preference details of a member.
Example URL
https://yourInstance.salesforce.com/services/data/v63.0/connect/loyalty/programs/DemoProgram/program-processes/Update Member Details
The 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:
{
"processParameters":[
{
"MemberId":"0lMRM0000004G5h2AE",
"MembershipNumber":"M1234",
"Email":"adam.smith@nto.com",
"EnrollmentDate":"2023-05-28",
"LastName":"Smith"
}
]
}
Here's an example with a current membership number:
{
"processParameters":[
{
"CurrentMembershipNumber":"M1234",
"MembershipNumber":"M1234",
"Email":"adam.smith@nto.com",
"EnrollmentDate":"2023-05-28",
"LastName":"Smith"
}
]
}
Sample JSON Response
{
"message":null,
"outputParameters":{
"outputParameters":{
"results":[
{
"MemberId":"0lMRM0000004F102AE",
"ContactId":"003RM0000088CugYAE",
"TransactionJournalId":null
}
]
}
},
"simulationDetails":{
},
"status":true
}