Atrelar motorista

Com esse endpoint podemos atrelar um motorista ou um veículo à uma entrega.

Atribuir um motorista a uma entrega ou rota.

post

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
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

Operação bem-sucedida

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

Casos de uso

chevron-rightAtrelar um motorista à um ID de entregahashtag
chevron-rightAtrelar um motorista à um referenceID de entregahashtag

Utilize o referenceid da entrega na url da petição para atrelar um motorista.

chevron-rightAtrelar motorista por id do veículohashtag
chevron-rightAtrelar motorista por id de referência do veículohashtag
chevron-rightCriar e atrelar veículo e motorista à uma tarefahashtag

Última actualización