Create a new consignment tracking
Path Parameters
- Type: stringFormat: uuidconsignment
Id required
Body·
application/json
- Type: string | nullcarrier
Name - Type: integerenumstatus
Integer numbers.
values- Unknown = 0
- Printed = 1
- Dispatched = 2
- In
Transit = 3 - Out
For Delivery = 4
- Type: string | nulltracking
Number - Type: string | nulltracking
Url
Responses
- application/json
Request Example for post/v1/consignments/{consignmentId}/tracking
curl https://api.consignlyhq.com/v1/consignments/123e4567-e89b-12d3-a456-426614174000/tracking \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"carrierName": null,
"status": "enum (Unknown = 0, Printed = 1, Dispatched = 2, InTransit = 3, OutForDelivery = 4, Delivered = 5, PickupInStore = 6, AttemptedDelivery = 7, Exception = 8, AwaitingCollection = 9, Cancelled = 10, Manifested = 11)",
"trackingUrl": null,
"trackingNumber": null
}'
{
"consignmentTrackingId": "00000000-0000-0000-0000-000000000000"
}