Track Using a Label ID
With ShipEngine, you can retrieve real-time tracking events for any package, even if you created the label outside of ShipEngine.
There are two methods you can use for tracking shipments:
- Use the label endpoint to track by Label ID. We recommend this method for tracking labels created via ShipStation.
- Use the tracking endpoint. This option requires you to specify the
carrier_code
and thetracking_number
of the package. If you don’t know a carrier’scarrier_code
, you can find it by listing carriers.
This page provides details about tracking using the label ID. See the Track a Package page for details about using the tracking endpoint method.
Requirements
- You will need the
label_id
from a Create Label request.
Example Request & Response
GET /v1/labels/:label_id/track
This endpoint allows you to track a specific label that was generated with ShipEngine.
Example Response
About the Tracking Response
Event Timestamps:
carrier_occurred_at
is the timestamp of the event received from the carrier. It is assumed to be the local time of where the event occurred. This event property is not yet fully supported across all carriers.occurred_at
is our best effort at converting thecarrier_occurred_at
field to UTC, based on the time of the event's occurrence.
Tracking Status Codes
Here's how the status_code
and status_description
fields correspond to each other and how they correspond to the tracking_status
field of a label:
status_code | status_description | tracking_status |
---|---|---|
AC | Accepted | N/A |
IT | In Transit | in_transit |
DE | Delivered | delivered |
EX | Exception | error |
UN | Unknown | unknown |
AT | Delivery Attempt | N/A |
NY | Not Yet In System | in_transit |
SP | Delivered To The Collection Location | delivered_to_service_point |