v1
latestOpenAPI 3.0.02026-07-1398671635.1 KBOrder Delivery API
publicly-accessible
Update order with driver assigned details
The driver assigned callback should be sent when a driver is assigned to the order. It should communicate important details about the driver - and also an estimated time for the driver to arrive at the restaurant and delivery address.
put/orders/{orderId}/deliverystate/driverassigned
Path parameters
orderIdstring required
Just Eat order identifier
Request body
Example request
{
"DriverName": "David",
"DriverContactNumber": "07123456789",
"VehicleDetails": {
"Vehicle": "Motorbike",
"VehicleRegistration": "JU51 SAY"
},
"EtaAtRestaurant": "2020-12-25T15:30:28.7537228+00:00",
"EtaAtDeliveryAddress": "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:45:28.7537228+00:00"
}Response
OK