Customer Update
This template will be triggered when customer data is updated.
https://<customerHost:Port>/webhook
Headers:
Field | Description |
---|---|
Content-Type | application/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:
Fields | Description | Type |
---|---|---|
clientHashId | Unique client identifier generated and shared before API handshake. | UUID |
customerHashId | Unique customer identifier generated on customer creation. | UUID |
fields | This is an object that holds all the key-value pairs which are updated. Refer the example for more details. | Object |
template | The value for this field is CARD_CUSTOMER_UPDATE_WEBHOOK. | String |
Updated about 7 hours ago