Update the route details of a consignment
Path Parameters
- Type: stringFormat: uuidconsignment
Id required
Body·
application/json
- Type: string | nullFormat: uuidcarrier
Id - Type: string | nullcarrier
Reference Number - Type: string | nullcarrier
Run Number - Type: integer | nullFormat: int32carrier
Run Ordinal Signed 32-bit integers (commonly used integer type).
- Type: string | nullFormat: uuiddefault
Dispatch Warehouse Location Id - Type: string | nullFormat: uuiddefault
Receive Warehouse Location Id - Type: string | nulldelivery
Instructions - Type: string | nullFormat: uuiddestination
Address Id - Type: string | nulldestination
Attention - Type: booleandestination
Authority To Leave - Type: string | nullFormat: uuidorigin
Address Id - Type: string | nullorigin
Attention
Responses
- 200
OK
- 304
Not Modified
Request Example for put/v1/consignments/{consignmentId}/route
curl https://api.consignlyhq.com/v1/consignments/123e4567-e89b-12d3-a456-426614174000/route \
--request PUT \
--header 'Content-Type: application/json' \
--data '{
"carrierId": null,
"carrierReferenceNumber": null,
"carrierRunNumber": null,
"carrierRunOrdinal": null,
"originAddressId": null,
"originAttention": null,
"destinationAddressId": null,
"destinationAttention": null,
"destinationAuthorityToLeave": true,
"defaultDispatchWarehouseLocationId": null,
"defaultReceiveWarehouseLocationId": null,
"deliveryInstructions": null
}'
No Body