v1
latestOpenAPI 3.0.02026-07-1498671635.3 KBOrder Delivery API
publicly-accessible
Update order with driver unassigned details
The driver unassigned callback should be sent when a driver is unassigned from the order. It may details about the reason for cancelling the assignment, the driver details, and any newer at restaurant and customer estimations.
put/orders/{orderId}/deliverystate/driverunassigned
Path parameters
orderIdstring required
Just Eat order identifier
Request body
Example request
{
"Comment": "Order was not ready",
"DriverContactNumber": "07123456789",
"DriverName": "David McDriverson",
"EtaAtDeliveryAddress": "2020-12-25T16:45:28.7537228+00:00",
"EtaAtRestaurant": "2020-12-25T16:30:28.7537228+00:00",
"Location:": {
"Accuracy": 12.814,
"Heading": 357.10382,
"Latitude": 51.51641,
"Longitude": -0.103198,
"Speed": 8.68
},
"Reason": "package_not_ready",
"TimeStampWithUtcOffset": "2020-12-25T15:30:28.7537228+00:00",
"UnassignedBy": "operation"
}Response
OK