Skip to main content
PATCH
Update Transport Operator Route

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

transportOperatorRouteId
string<uuid>
required

Transport operator route identifier

Example:

"01980d34-4a94-76ef-b826-5c77dc16ca49"

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Body

application/json

Update transport operator route payload

rejectionReason
string | null

Rejection reason

Example:

null

status
enum<string>

Transport operator route status

Available options:
PENDING_APPROVAL,
ACTIVE,
REJECTED,
SUSPENDED,
EXPIRED
Example:

"ACTIVE"

Response

OK

Transport operator route

transportOperatorRouteId
string<uuid>
required

Transport operator route identifier

Example:

"01980d34-4a94-76ef-b826-5c77dc16ca49"

cooperativeId
string<uuid>
required

Cooperative identifier

Example:

"0197a800-24e6-76a2-90ed-ff0f6fba7b0c"

transportOperatorId
string<uuid>
required

Transport operator identifier

Example:

"01980d30-6a3c-7a42-9182-17ad6324d3aa"

routeId
string<uuid>
required

Route identifier

Example:

"0197a80c-4204-7b77-9005-48cc23677587"

status
enum<string>
required

Transport operator route status

Available options:
PENDING_APPROVAL,
ACTIVE,
REJECTED,
SUSPENDED,
EXPIRED
Example:

"ACTIVE"

createdAt
string<date-time>
required

Created at

Example:

"2026-07-03T15:35:00.000Z"

updatedAt
string<date-time>
required

Updated at

Example:

"2026-07-03T15:45:00.000Z"

approvedBy
string<uuid> | null

Approved by

Example:

null

rejectionReason
string | null

Rejection reason

Example:

null

createdBy
string<uuid> | null

Created by

Example:

null

updatedBy
string<uuid> | null

Updated by

Example:

null

deletedBy
string<uuid> | null

Deleted by

Example:

null

approvedAt
string<date-time> | null

Approved at

Example:

null

deletedAt
string<date-time> | null

Deleted at

Example:

null