Assign driver to route

Assign a specific driver to an existing route

A PUT request to the /routes/{routeUuid}/driver endpoint assigns the specified driver to a specific route within Routific.

Request URL

📘

How do I know my route's uuid?

You can get your route uuids by calling the Fetch routes endpoint.

Request Payload

{"driverUuid": "b36f95d6-e9f4-401c-b91d-1cb901ad57c1"}
📘

How do I know my driver's uuid?

You can get your driver's uuid by calling the Fetch drivers endpoint.

📘

Route status for assigning a driver

Only routes with either planned or published status can be assigned a driver

Sample Response Payload

Below is a sample response payload illustrating the successful driver assignment request.

{
    "uuid": "042ebafe-a19e-42cb-ae64-2152306305dc",
    "workspaceUuid": "e2e2ef34-59f4-4f3b-9a11-c523c69bb5c1",
    "name": "route",
    "constraints": {
        "startTime": "09:00",
        "endTime": "17:00",
        "capacity": null,
        "tags": []
    },
    "driver": {
        "name": "John Doe",
        "uuid": "3255bb9d-fd3b-4e33-bc7e-0dda60bae3b4"
    },
    "timeline": {
        "uri": "/v2/routes/042ebafe-a19e-42cb-ae64-2152306305dc/timeline"
    },
    "date": "2026-10-15",
    "status": "planned",
    "workingTimeInSeconds": 0,
    "distanceInKilometers": 0,
    "ordersCount": 0,
    "capacityUsed": 0
}

Here's a description of the fields returned in the response payload:

FieldTypeDescription
uuidStringUnique identifier of the route.
workspaceUuidStringUnique identifier of the workspace that the route belongs to.
nameStringThe name of the route.
constraints.startTimeStringThe configured start time of the route.
constraints.endTimeStringThe configured end time of the route.
constraints.capacityIntegerThe maximum capacity of the route.
constraints.tagsArrayTags assigned to the routes
driver.nameStringName of the driver.
driver.uuidStringUnique identifier of the driver.
timeline.uriStringThe URI to access additional details about a route's timeline like the sequence of stops and their associated ETAs.
dateStringThe date that the routes is scheduled to be executed on.
statusStringCurrent status of the route. Possible values: planned, published, executing, and completed.
workingTimeInSecondsIntegerTotal working time for the route in seconds.
distanceInKilometersIntegerTotal distance covered by the route in kilometers.
ordersCountIntegerNumber of orders assigned to the route.
capacityUsedIntegerTotal utilized capacity of the routes based on the orders assigned to the route.