Skip to main content

Poll tracking updates

Use GET /tracking/{id} to retrieve real-time shipment tracking data in a unified format. This guide covers the polling flow, how to interpret tracking statuses, and patterns for building customer notifications.

Retrieve tracking data

Use the id from the label creation response. {id} accepts the label UUID or your customerOrderNumber; it does not accept the courier tracking number (courierTrackingNumber), which returns 404:

Response

200 OK
Checkpoints are ordered chronologically, oldest event first. The last element is the most recent event.

Understand the tracking status

Use the top-level tag field for high-level status logic:

Polling pattern

Since webhooks are not currently available, poll GET /tracking/{id} at a reasonable interval to detect status changes.

Polling guidelines

Tracking data is fetched from the courier in near-real-time. Polling more frequently than every 15 minutes is unlikely to yield new data and counts against the recommended rate limit of 10 requests per second.

Error handling

Next steps

Core Concepts

Full reference for tracking status tags and checkpoint schema.

Idempotency and Retries

Safe retry patterns for handling transient failures.