Order 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
Request
- Base URLhttps://uk.api.just-eat.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
No recorded changes to this operation across all 2 revisions of this API.