webhook
https://yourwebhook.com/courier_update
Sends courier details and delivery progress whenever they change.
Purpose
Where delivery platforms provide courier statuses or a 3rd party 'Dispatch' service is enabled, the details of the delivery progress will be sent whenever they change
Delivery job statuses
| Status name | Meaning | Integer value |
|---|---|---|
EN_ROUTE_TO_PICKUP | Courier approaching the pickup location | 83 |
ARRIVED_AT_PICKUP | Courier has arrived at the pickup location | 85 |
EN_ROUTE_TO_DROPOFF | Courier approaching the drop-off location | 87 |
ARRIVED_AT_DROPOFF | Courier has arrived at the drop-off location | 89 |
DELIVERED | Courier has delivered the order | 90 |
Parameters
| Parameter | Meaning | Type |
|---|---|---|
received | Timestamp of when the update was generated | str |
orderId | Unique Deliverect order ID | str |
rawDriverUpdate | An empty array not currently in use | array of str |
updatedOrigin | 2 = Channel6 = Courier (via Dispatch) | int |
| courier | — | array of str |
courier.firstName | — | str |
courier.lastName | — | str |
courier.phoneNumber | — | str |
courier.deliveryBy | The delivery party responsible | str |
courier.status | See Delivery job statuses | int |
pickupTime | The correct pickupTime for the order when the status was generated | str |
deliveryTime | The anticipated order delivery time | str |
location | The unique ID of the Deliverect location | str |
Sent to the reporting webhook URL configured during onboarding. Where delivery platforms provide courier statuses or a 3rd party 'Dispatch' service is enabled, the details of the delivery progress will be sent whenever they change.
200Return a 2xx status to acknowledge receipt.
