post https://api.staging.deliverect.com/fulfillment/generic/events
This webhook allows to persist updates from third party delivery systems to Deliverect.
Currently updates to following delivery information are supported. (See examples for technical details).
- delivery status
- pickup time & ETA
- delivery time & ETA
- courier information
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 pick up 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 |
NOTE
Please note, that here and later all dates and times, coming from/to Deliverect are UTC.
Example Payloads:
{
"deliveryJobId": "602***66a",
"externalJobId": "DJ1234567890",
"locations": [
{
"orderId": "602***98b",
"channelOrderDisplayId": "1234567890",
"status":80,
"deliveryTimeETA": "2021-05-13T14:13:00Z"
}
]
}'
{
"deliveryJobId": "602***66a",
"externalJobId": "DJ1234567890",
"pickupTimeETA": "2020-01-01T12:00:00.000+02:00"
}'
{
"deliveryJobId": "602***66a",
"pickupTimeETA": "2021-05-13T13:59:00Z",
"transportType": "bicycle",
"courier": {
"name": "Mac Miller",
"phone": "+3292331234",
"longitude": "51.05433703603857",
"latitude": "3.738214852809371"
},
"locations": [
{
"orderId": "602987dd539d9697c836198b",
"status": 80,
"deliveryTimeETA": "2021-05-13T14:13:00Z"
}
]
}