v1

latestOpenAPI 3.0.02026-07-1498671635.3 KB
Order Delivery API
publicly-accessible

Update the driver's estimated time to arrive at the Restaurant

In the UK, this endpoint updates the estimated arrival time at the restaurant. This value can be overridden from other endpoints like Driver Locations

This endpoint should be used to set initial at restaurant ETAs prior to driver assignment where available. The earlier a delivery partner is able to provide an estimate of when the driver will arrive at the restaurant the more likely it is that driver arrival and order preparation will be aligned.

In other tenants (Not UK):Note that if set for a given order, this Eta will NOT be overridden by any other at restaurant ETAs provided in `DriverAssigned` or `DriverLocation` requests

This value is significant since it informs when a restaurant is instructed to start preparing food. When the time remaining between current time and the estimated time of arrival becomes less than the restaurant's configured preparation time, food preparation is initiated

put/orders/{orderId}/deliverystate/atrestauranteta

Path parameters

orderIdstring required

Just Eat order identifier

Request body

bestGuessstring date-time

This should represent the delivery partner's best guess at when the driver will arrive at the restaurant.

estimatedAtstring date-time

This is the time at which you are doing the estimation

Response

OK