v1

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

Update the driver's current location

Just Eat requires all delivery partners to send regular driver location callbacks, that record the GPS location of the drivers assigned to each order

Partners should aim to supply this callback approximately every 10 seconds.

Please provide an up-to-date ETA for when the driver will reach the restaurant in this request - 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

Note that at restaurant Eta provided in this request will NOT override any ETA set in the Driver At Restaurant Eta request

put/orders/{orderId}/deliverystate/driverlocation

Path parameters

orderIdstring required

Just Eat order identifier

Request body

EtaAtDeliveryAddressstring date-time

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

EtaAtRestaurantstring date-time

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

TimeStampWithUtcOffsetstring date-time

This should represent the location updated timestamp.

Example request

{
  "EtaAtDeliveryAddress": "2020-12-25T16:45:28.7537228+00:00",
  "EtaAtRestaurant": "2020-12-25T16:30: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