---
title: "Update order with driver assigned details"
method: PUT
path: "/orders/{orderId}/deliverystate/driverassigned"
tags: ["Order Delivery API", "publicly-accessible"]
---

# Update order with driver assigned details

`PUT /orders/{orderId}/deliverystate/driverassigned`

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.

## Path parameters

- `orderId` string, required

## Request body

- DeliveryDriverAssignedDetails
  - `DriverContactNumber` string — This should represent the driver's contact number.
  - `DriverName` string — This should represent the driver's name.
  - `EtaAtDeliveryAddress` string, date-time — This should represent the delivery partner's best guess at when the driver will arrive at the delivery address.
  - `EtaAtRestaurant` string, 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.
  - `Location` Location — GeoLocation object containing latitude and longitude values.
    - `Accuracy` number, double — This should represent the accuracy of driver's location.
    - `Heading` number, double — This should represent the degree of heading direction, for example, 0 is north, 90 is east.
    - `Latitude` number, double, required — This should represent the latitude of the driver's location.
    - `Longitude` number, double, required — This should represent the longitude of the driver's location.
    - `Speed` number, double — This should represent the travel speed of the driver.
  - `TimeStampWithUtcOffset` string, date-time — This should represent the driver assigned timestamp.
  - `VehicleDetails` VehicleDetails
    - `Vehicle` string
    - `VehicleRegistration` string

## Response `200`

OK

---

[API](https://skmtc.net/justeat/apis/just-eat.md) · [All operations](https://skmtc.net/justeat/apis/just-eat/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/justeat/just-eat/versions/49ff8eb806d9/schema)
