Customer Update

This template will be triggered when customer data is updated.

https://<customerHost:Port>/webhook

Headers:

FieldDescription
Content-Typeapplication/json

Example Request:

curl --location --request POST 'https://<customerHost:Port>/webhook' \
-H 'content-type: application/json' \
-d '{
    "clientHashId": "a230207a-c598-479e-b94b-a12bb1a7d287",
    "customerHashId": "85c21489-94aa-4e65-ab7e-1c6bcea84e27",
    "fields": {"countryCode":"SG", "mobile": "67543800", "email": "[email protected]"},
    "template": "CARD_CUSTOMER_UPDATE_WEBHOOK"
}'

Request Body:

FieldsDescriptionType
clientHashIdUnique client identifier generated and shared before API handshake.UUID
customerHashIdUnique customer identifier generated on customer creation.UUID
fieldsThis is an object that holds all the key-value pairs which are updated. Refer the example for more details.Object
templateThe value for this field is CARD_CUSTOMER_UPDATE_WEBHOOK.String