Prerequisites: Introduction to webhooks
The Order Canceled webhook is used to notify your system when an order has been canceled in Fulfill Engine. When this occurs, a POST request will be made to your registered webhook URL with a body describing the event. An example request body is shown below.
{
"accountId": "account-id",
"campaignId": "campaign-id",
"orderId": "order-id",
"customId": "order-custom-id",
"webhook": "order_canceled",
"cancelReason": "Message explaining why the order was canceled",
"url": "https://api.fulfillengine.com/api/accounts/account-id/orders/order-id"
}