---
title: "Update Route"
method: PUT
path: "/v1/Scheduling/routes"
tags: ["Scheduling"]
---

# Update Route

`PUT /v1/Scheduling/routes`

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

## Query parameters

- `routeId` integer

## Request body

- RouteUpdateRequestDto
  - `OperatorId` integer — The unique identifier of the operator associated with the route being updated.
  - `RouteName` string, nullable — The updated name of the route.
  - `RouteCode` string, nullable — The updated code used to identify the route.
  - `DriverId` string, uuid — The unique identifier of the driver to be assigned to the updated route.
  - `RouteRemarks` string, nullable — Additional updated remarks or notes related to the route.
  - `RouteStatusId` integer — The updated status identifier of the route, indicating its current status.

## Response `200`

The updated route details.

- RouteResponseDto
  - `RouteId` integer — The unique identifier of the route.
  - `DriverId` string, uuid, nullable — The unique identifier of the driver assigned to the route.
  - `DriverName` string, nullable — The name of the driver assigned to the route.
  - `DriverMobile` string, nullable — The mobile phone number of the driver assigned to the route.
  - `RouteName` string, nullable — The name of the route.
  - `RouteCode` string, nullable — The code used to identify the route.
  - `RouteRemarks` string, nullable — Additional remarks or notes related to the route.
  - `RouteStatusId` integer — The status identifier of the route, indicating its current status.
  - `RouteMachineCount` string, nullable — The number of machines assigned to the route.
  - `CreatedDt` string, date-time — The date and time when the route was created.
  - `CreatedBy` integer — The identifier of the user who created the route.
  - `UpdatedDt` string, date-time, nullable — The date and time when the route was last updated.
  - `UpdatedBy` integer, nullable — The identifier of the user who last updated the route.

---

[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/revisions/421f6f83c257/schema)
