Track
The Track resource allows clients to retrieve tracking events for shipments by their tracking number. You may only track one shipment per request. This endpoint is rate limited.
Actions
GET /track/{tracking_number} |
Get events for a tracking number |
Properties
carrier |
String - The last mile carrier code for the shipment. |
created |
String - The date and time the shipment was created. |
destination |
{ "destination": { "city": "BROOKLYN", "province": "NY", "country": "US", "port": "JFK" } } Object - The shipment destination.
|
entry_point |
String - The shipment origin code. |
events |
{ "events": [ { "time": "2023-07-01 01:14:10", "city": "Shenzhen", "province": "GDG", "postal_code": "300000", "country": "CN", "code": 100, "carrier": "BoxC", "description": "SHIPMENT LABEL CREATED" } ] } Array - A list of tracking events sorted in chronological descending order. |
order_number |
String|null - The shipment order number. |
service |
String - The shipment service name. |
shipment_id |
Int - The shipment ID. |
status |
String - The tracking status of the shipment. |
tracking_number |
String - The shipment tracking number. |
GET /track/9261290198179000000172
HTTP/1.1 200 OK
{ "track": { "created": "2023-06-30T17:14:10+00:00", "carrier": "DHLeC", "destination": { "city": "BROOKLYN", "province": "NY", "country": "US", "port": "JFK" }, "entry_point": "HKG101", "order_number": null, "service": "BoxC Parcel", "shipment_id": 1000406, "status": "En Route", "tracking_number": "9261290198179000000172", "events": [ { "time": "2023-07-01 01:14:10", "city": "Shenzhen", "province": "GDG", "postal_code": "300000", "country": "CN", "code": 100, "carrier": "BoxC", "description": "SHIPMENT LABEL CREATED" } ] } }