Order status update Webhook
Order status webhook
Headers
- Type: stringAuthorization
Request payload hash signed with signing_secret
Body
application/json
- Type: stringcreated
_at Event created at datetime
- Type: objectdataProperties: 5
Order data
- Type: stringsend
_at Event sent at datetime
- enumtype
Event type : order.status_update, order.payment_status_refund, order.payment_status_voided
- Type: stringuuid
Event UUID
Responses
- application/json
Request Example for post/webhook/order-status
curl https://custom-ordering-application.app/webhook/order-status \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"uuid": "5473e84c-cfbc-487b-90ac-5c66f4708a3f",
"type": "order.status_update",
"send_at": "2023-12-16 13:27",
"created_at": "2023-12-16 13:27",
"data": {
"uuid": "e0c0b8d8-7fab-4847-acab-cc49efc21515",
"state": "Final",
"code": "N3PKF",
"created_at": "2023-12-15 13:26",
"updated_at": "2023-12-16 13:27"
}
}'
{
"status": 200
}