Atrelar motorista
Com esse endpoint podemos atrelar um motorista ou um veículo à uma entrega.
Atribuir um motorista a uma entrega ou rota.
Autorizaciones
AuthorizationstringRequerido
Parámetros de ruta
idstringRequerido
Identifier or reference Id of the delivery or route to which a driver will be assigned
Cuerpo
courierIdintegerRequeridoExample:
Driver identifier to whom the delivery/route will be assigned. No other property is sent in the payload
1234vehicleIdintegerOpcionalExample:
Driver's vehicle identifier to which the delivery/route will be assigned. No other property is sent in the payload
2344vehicleReferenceIdstringOpcionalExample:
Driver's vehicle reference to which the delivery/route will be assigned. No other property is sent in the payload
2344Respuestas
200
Operação bem-sucedida
application/json
401
Não autorizado
application/json
post
/v1/routes/{id}/assignCasos de uso
Última actualización