Assign driver

With this endpoint, you can assign a driver or vehicle to a delivery.

Assign a driver to a delivery or route.

post

Assign a driver to a delivery or route.

Autorizaciones
AuthorizationstringRequerido
Parámetros de ruta
idstringRequerido

Identifier or reference Id of the delivery or route to which a driver will be assigned

Cuerpo
courierIdintegerRequerido

Driver identifier to whom the delivery/route will be assigned. No other property is sent in the payload

Example: 1234
vehicleIdintegerOpcional

Driver's vehicle identifier to which the delivery/route will be assigned. No other property is sent in the payload

Example: 2344
vehicleReferenceIdstringOpcional

Driver's vehicle reference to which the delivery/route will be assigned. No other property is sent in the payload

Example: 2344
Respuestas
chevron-right
200

Successful operation

application/json
post
/v1/routes/{id}/assign

Casos de uso

chevron-rightAssign driver to delivery IDhashtag
chevron-rightAssign driver to delivery reference IDhashtag

You can use the delivery reference ID in the URL of the request to assign a driver.

chevron-rightAssign driver by vehicle IDhashtag
chevron-rightAssign driver by vehicle reference IDhashtag
chevron-rightCreate and assign a vehicle and driver to a taskhashtag

Última actualización