iBOX API

Shipping

Labels

Every parcel needs its iBOX label. The courier scans it to deposit the parcel in the right locker.

GET/v1/shipments/{id}/label returns the label as a PDF, sized for a label printer. It carries the tracking number as a barcode, the destination locker, the compartment size and your order reference.

bash
curl https://api.iboxdelivery.com/v1/shipments/$SHIPMENT_ID/label \
  -H "Authorization: Bearer $IBOX_API_KEY" -o label.pdf
  • The first request marks the parcel label_created. Asking again re-prints the same label, so it is safe to fetch whenever a printer jams.
  • A label exists once the parcel is booked. Asking for one on a cancelled parcel answers 409 with code: "not_booked".
  • Stick it flat on the largest side, away from seams and other barcodes.