iBOX API

Shipping

Tracking

Where a parcel is, in a handful of statuses that stay stable as the network behind them grows.

GET/v1/track/{tracking_number} returns a parcel's public status, its locker, when the customer has to collect it by, and its history. It finds only your own parcels. Your customers follow theirs on the iBOX tracking page; the link is in their SMS.

bash
curl https://api.iboxdelivery.com/v1/track/IBX2513276175 \
  -H "Authorization: Bearer $IBOX_API_KEY"

Statuses

StatusMeans
bookedBooked, label printed or waiting for an iBOX courier.
in_transitWith iBOX, on its way to the locker.
ready_for_pickupIn the locker. The customer has their code; collect_by says until when.
collectedThe customer has it.
returningNot collected in time, or returned by the customer, and on its way back to you.
returnedBack with you.
cancelledCancelled before it moved.
exceptionSomething needs a person. We are on it, and will contact you if you need to act.

Branch on these, not on the more detailed status that GET /v1/shipments returns: that one follows our internal steps and gains new values as the network changes. New public statuses are announced in the changelog first.

For changes as they happen rather than by asking, use webhooks.