v1

latestOpenAPI 3.0.02026-07-1398671635.1 KB
Order 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

DriverNamestring

This should represent the driver's name.

DriverContactNumberstring

This should represent the driver's contact number.

EtaAtRestaurantstring date-time

This should represent the delivery partner's best guess at when the driver will arrive at the restaurant. In other words, it should not just contain the pick-up time initially requested by Just Eat.

EtaAtDeliveryAddressstring date-time

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

TimeStampWithUtcOffsetstring date-time

This should represent the driver assigned timestamp.

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