action just_eat_put_orders_order_id_deliverystate_driverlocation { label: "Update the driver's current location" description: "
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
" provider: just_eat method: PUT path: "/orders/{orderId}/deliverystate/driverlocation" encoding: json input: { type: "object" properties: { EtaAtDeliveryAddress: { type: "string" format: "date-time" description: "This should represent the delivery partner's best guess at when the driver will arrive at the delivery address." } EtaAtRestaurant: { type: "string" format: "date-time" description: "This should represent the delivery partner's best guess at when the driver will arrive at the restaurant." } Location: { type: "object" description: "GeoLocation object containing latitude and longitude values." required: ["Latitude", "Longitude"] properties: { Accuracy: { type: "number" format: "double" description: "This should represent the accuracy of driver's location." } Heading: { type: "number" format: "double" description: "This should represent the degree of heading direction, for example, 0 is north, 90 is east." } Latitude: { type: "number" format: "double" description: "This should represent the latitude of the driver's location." } Longitude: { type: "number" format: "double" description: "This should represent the longitude of the driver's location." } Speed: { type: "number" format: "double" description: "This should represent the travel speed of the driver." } } } TimeStampWithUtcOffset: { type: "string" format: "date-time" description: "This should represent the location updated timestamp." } orderId: { type: "string" } } required: ["orderId"] additionalProperties: false } output: { type: "object" additionalProperties: true } }