Assign driver

You can use the endpoint to assign a driver to delivery or route.

If a delivery belongs to a route, you must assign the driver to the route, not the delivery.

Endpoint

POST {{SHIPPIFY_API_URL}}/v1/routes/:id/assign

Request

Params

Body

Only one of the following parameters is required.

Response

Example

curl --location --request POST 'https://api.shippify.co/v1/routes/r-shiinc-2216524/assign' \
--header 'Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=' \
--header 'Content-Type: application/json' \
--header 'Cookie: locale=es' \
--data-raw '{
    "courierId": 396930
}'