v1
latestOpenAPI 3.1.02026-07-2296226496.3 KBRoute
Assign or Reassign a Route
Assign a route to a provider, driver group (contract), courier, or vehicle. Driver group / courier / vehicle accept an internal or external id. Pre-dispatch the assignment is updated in place. Post-dispatch the route is reassigned — the active assignment is cancelled, live deliveries are cancelled, tasks are recreated and re-quoted, a fresh route assignment is created, and the requested target is applied. Returns the updated route.
post/v1/routes/{id}/assign
Path parameters
idstring required
Route ID
Route ID
Request body
Example request
{
"providerId": "uber",
"driverGroupId": "cntr_7mP3xVt9Nk8sRfWzY2hLbQ",
"courierId": "cor_9dK2mNp7xVt3RfWzY8sLbQ",
"vehicleId": "veh_4hL8pXq2sVn6RtY3wCbD9M"
}Response
OK