Tracking

Represents shipment tracking information. This object supports two mutually exclusive usage patterns:

Reference Mode: Pass the tracking ID which created via the Tracking API. This enables full tracking capabilities.

Inline Mode: Pass the tracking_number (and optional slug) directly. This is strictly for record-keeping purposes and does not create an active tracking task, and hence AfterShip system would not provide status updates to this tracking number.

(one of)
id
string
required

The unique identifier of a tracking resource previously created via the Tracking API.

Example
preparing...