Order Canceled
This event will be sent when Stream recieves an order cancellation.
Cancellation types
merchant_canceled
- Cancellation requested by the store
{
"type": "order.canceled",
"location_id": "STREAM_LOCATION_1",
"reference_id": "PROVIDER_LOCATION_1",
"order": {
"id": "STREAM_ORDER_1234",
"status": "merchant_canceled"
}
}
dsp_canceled
- Cancellation requested by the ordering provider
{
"type": "order.canceled",
"location_id": "STREAM_LOCATION_1",
"reference_id": "PROVIDER_LOCATION_1",
"order": {
"id": "STREAM_ORDER_1234",
"status": "dsp_canceled"
}
}