BigblueDevelopers

Tracking

Tracking numbers, statuses and carrier events for each parcel.

When a parcel is handed to a carrier, Bigblue records its tracking events. Tracking is read-only.

Operations

Order status and tracking status

Order statusTracking status
DescribesThe whole orderOne parcel
CodesOrder statusesSee below
HistoryCurrent status onlyAll events, with times
Shows returning parcelsNo, they show as DELIVEREDYes, as RETURNING

An order with two parcels has one order status and two trackings. GetOrder returns the tracking number of the parcel furthest along. ListTrackings returns both.

Status codes

LABEL_CREATED
A label exists. The carrier hasn't collected the parcel.
PENDING
Tracking started. The carrier hasn't scanned the parcel yet.
IN_TRANSIT
On the way.
OUT_FOR_DELIVERY
Out for delivery today.
AVAILABLE_FOR_PICKUP
Waiting at a pickup point.
DELIVERED
Delivered.
RETURNING
On its way back to the warehouse.
RETURNED
Back at the warehouse.
LOST
Lost by the carrier.
NOT_TRACKED
The carrier service has no tracking.
STATUS_CODE_UNSPECIFIED
No status yet.

Events use the same codes in events[].status_code.

Objects

Tracking

tracking_numberstring

The tracking number printed on the label. Stays the same if the carrier issues a new number later.

carrier_servicestring
Bigblue carrier service ID.
tracking_urlstring
Tracking page for the customer.
update_timestring
When the tracking last changed.
Current status.
All events, newest first.

Tracking.Status

codestring
One of the status codes.
messagestring
Description of the latest event. Don't use it in your logic.

TrackingEvent

status_codestring
Status code for this event.
messagestring
The carrier's description of the event.
timestampstring

When the event happened, RFC 3339 UTC. If the carrier didn't send a time, this is when Bigblue recorded the event.

Events from all of a parcel's labels are combined, so a reshipped parcel has one history.

When you look up an order, cancelled fulfillments are ignored. If the order's only fulfillment was cancelled, the response is empty.

On this page