v1
latestOpenAPI 3.0.12026-07-24501176.6 MBUpdate Customer Details
Lets you update existing customer details.
Path parameters
Unique ID of the customer whose information needs to be updated.
Query parameters
Source in which you want to update the customer details. For sources with multiple accounts such as WECHAT, FACEBOOK, MOBILE_APP, or LINE, you also need to provide the respective account id.
Account in which you want to update the customer details (Required only for sources with multiple accounts)
Pass true to run loyalty activities in the back ground. Hence, sideEffects are not returned in the response. Pass false to wait for loyalty activities to complete and return the side effects.
Pass true to enroll a customer in all the loyalty programs available for the org. Pass false to enroll in a specific program or the default program of the till.
Headers
USER-CONTEXT-ENTITY-TYPE
Enter user ID
Enter user source.
Enter user source ID.
Request body
Response
200
Example response
{
"createdId": 162116213,
"sideEffects": [
{
"awardedPoints": 25,
"type": "points"
}
]
}