WebhooksOrdersETA & Delays
Order First ETA
Webhook payload sent when HyperTrack calculates the first ETA for an order.
Order First ETA Webhook Payload
[
{
"created_at":"2021-01-01T14:01:00.000000Z",
"recorded_at":"2021-01-01T14:00:00.000000Z",
"device_id":"00112233-4455-6677-8899-AABBCCDDEEFF",
"worker_handle": "Worker-1",
"account_id":"6784e919-7168-4f61-b686-2020f547637f",
"type":"order",
"data":{
"value":"first_eta",
"order_handle":"DGC127092",
"route_handle":"4359cc65-90dd-4b2b-875b-26e6d2eba11d",
"remaining_distance": 2582,
"remaining_duration": 410,
"scheduled_at":"2021-01-01T14:30:00.000Z",
"start_by":"2021-01-01T14:22:00.000Z",
"status":"ongoing",
"share_url":"https://trck.at/vr1RNLq",
"metadata":{
"storeId":"123490809808",
"customerName":"Andrew"
}
},
"version":"3.0.0"
}
]| Name | Type | Mandatory | Description |
|---|---|---|---|
| data.value | string | Yes | first_eta |
| data.order_handle | string | Yes | Unique handle for the Order |
| data.route_handle | string | Yes | Unique identifier of the route containing the order |
| data.status | string | Yes | Status of the order - ongoing |
| data.share_url | string | Yes | Contains tracking url of the order to provide real time visibility of worker on route of this order |
| data.metadata | object | No | Metadata that you have assigned to this order |
| data.remaining_distance | int | Yes | Distance remaining in meters |
| data.remaining_duration | int | Yes | Time remaining to reach destination as per current location in seconds |
| data.scheduled_at | string | No | Time the worker is expected at the order destination, as set on the order. ISO 8601 UTC |
| data.start_by | string | No | Latest time the worker can leave their current location and still reach the order by scheduled_at. It follows the route sequence, adds service time at earlier stops, and uses predicted traffic for that time of day. HyperTrack calculates it once, at the first ETA, and does not update it with later ETAs. The same value is in the order's estimate.start_by. Present only when the order has scheduled_at. ISO 8601 UTC |