v1
latestOpenAPI 3.0.02026-07-1398671635.1 KBOrder Delivery API
publicly-accessible
Update order with driver on its way details
The on its way callback should be sent when the driver departs the restaurant with the customer's order. It should contain an ETA that records when the driver expects to arrive at the customer's address.
put/orders/{orderId}/deliverystate/onitsway
Path parameters
orderIdstring required
Request body
Example request
{
"EstimatedArrivalTime": "2020-12-25T16:45:28.7537228+00:00",
"Location": {
"Latitude": 51.51641,
"Longitude": -0.103198,
"Speed": 8.68,
"Heading": 357.10382,
"Accuracy": 12.814
},
"TimeStampWithUtcOffset": "2020-12-25T15:30:28.7537228+00:00"
}Response
OK