Customer Profile Update Event
POST/profile/events
This webhook is triggered whenever a profile update request is made. It includes the customer's information along with details about the changes made during the update.
The changes object in the request body is an array of objects representing individual profile changes.
Properties of a Change Object:
field: The flat path to the updated part of the user profile.status: The status of the operation (SUCCESSorFAIL).oldValue: The previous value of the updated field.newValue: The desired value of the field after the update.errorMessages(optional): An array of error codes and descriptive messages.
Notes:
- Status Handling:
SUCCESS: Update was successful, andnewValuereflects the updated value in the profile.FAIL: Update failed, andnewValueis the intended value but was not applied.
- Error Details (when
statusisFAIL):Error Code: A code identifying the type of error.Description Message: A detailed explanation of the error.
It will be sent at least once.
Request
Responses
- 200
OK