π Order Status Update (From Blend to Delivery App)
π§Ύ Description
This document explains the order_updated
event that Blend sends to the delivery app
when the order status is updated from Blendβs system β such as via the merchant dashboard or kitchen display system.
This allows Blend to notify the delivery partner of important changes to the order's lifecycle.
π Direction
Blend β Delivery App
Blend pushes this event to the delivery app's registered webhook URL.
π¦ Example Payload
{
"event": "order_updated",
"event_time": "2025-01-01 00:00:00",
"branch_id": "14589",
"payload": {
"order_id": "order_id",
"status": "accepted"
}
}
π Field Descriptions
Field | Description |
---|---|
event | Always "order_updated" |
event_time | Timestamp when the status update occurred |
branch_id | ID of the branch that owns this order |
payload.order_id | ID of the order being updated |
payload.status | New status of the order β one of accepted , rejected , cancelled , prepared |
π Status Types
Status | Meaning |
---|---|
accepted | Order was accepted by the merchant |
rejected | Order was rejected by the merchant |
cancelled | Order was canceled by the merchant or system |
prepared | Order has been prepared and is ready |
π‘ Webhook Delivery
- Blend pushes this JSON to the delivery partnerβs webhook URL
- Delivery app must return
200 OK
on successful receipt - Optionally, Blend may retry on failures
β
Notes
- Status updates help sync Blendβs internal state with delivery platforms
order_id
should match the order previously sent in theorder_created
event- Delivery apps should process updates immediately to reflect order progress to couriers or customers
Updated 22 days ago