---
title: "Update Driver"
method: PUT
path: "/v1/Scheduling/drivers"
tags: ["Scheduling"]
---

# Update Driver

`PUT /v1/Scheduling/drivers`

Updates the details of an existing driver identified by DriverId. The request body should include the updated driver information.

## Query parameters

- `DriverId` string, uuid

## Request body

- DriverRequestDto
  - `UserId` integer — The unique identifier of the user associated with the driver.
  - `OperatorId` integer — The unique identifier of the operator associated with the driver.
  - `DriverStatusId` integer, nullable — The status identifier of the driver, indicating their current status.
  - `StartDate` string, nullable — The date when the driver started working.
  - `DriverLicense` string, nullable — The driver's license number of the driver.
  - `IdNumber` string, nullable — The identification number of the driver.
  - `Skills` integer[], nullable — A list of skill identifiers associated with the driver.
  - `WorkingHours` DriverWorkingDayAndHours[], nullable — A list of working days and hours for the driver.
    - `Day` integer — The day of the week represented as an integer (e.g., 1 for Monday, 7 for Sunday).
    - `Enabled` boolean — Indicates whether the driver is available to work on this day.
    - `Hours` DriverWorkingHours[], nullable — The working hours for the driver on this day.
      - `StartHour` string, nullable — The start hour of the driver's working time, formatted as HH:MM.
      - `EndHour` string, nullable — The end hour of the driver's working time, formatted as HH:MM.

## Response `200`

The updated driver details.

- DriverResponseDto
  - `Id` string, uuid — The unique identifier of the driver.
  - `DistributorId` integer — The unique identifier of the distributor associated with the driver.
  - `OperatorId` integer — The unique identifier of the operator associated with the driver.
  - `OperatorName` string, nullable — The name of the operator associated with the driver.
  - `UserId` integer — The unique identifier of the user associated with the driver.
  - `FullName` string, nullable — The full name of the driver.
  - `Mobile` string, nullable — The mobile phone number of the driver.
  - `Email` string, nullable — The email address of the driver.
  - `DriverLicense` string, nullable — The driver's license number of the driver.
  - `IdNumber` string, nullable — The identification number of the driver.
  - `Img` string, nullable — The URL to the driver's image.
  - `DriverStatusId` integer, nullable — The status identifier of the driver, indicating their current status.
  - `StartDate` string, nullable — The date when the driver started working.
  - `Skills` integer[], nullable — A list of skill identifiers associated with the driver.
  - `WorkingHours` string, nullable — The working hours of the driver.
  - `CreatedBy` integer — The identifier of the user who created the driver entry.
  - `CreatedDt` string, date-time — The date and time when the driver entry was created.
  - `UpdatedBy` integer, nullable — The identifier of the user who last updated the driver entry.
  - `UpdatedDt` string, date-time, nullable — The date and time when the driver entry was last updated.

---

[API](https://skmtc.net/nayax/apis/nayax-cortina-api.md) · [All operations](https://skmtc.net/nayax/apis/nayax-cortina-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nayax/nayax-cortina-api/versions/421f6f83c257/schema)
