Labels
Every routed shipment comes with one label, rendered by E-Parcel from the accepting carrier’s tracking number.
- PDF, one page, 101 × 200 mm, sized for thermal label stock.
- Print at 100 % / actual size, not “fit to page”.
- The barcode is the carrier’s tracking number. Print one label per parcel and attach it to that parcel.
- The label shows your
sender_nameand address as FROM, and yourcustomer_reference.
Getting the label
Section titled “Getting the label”The create response carries it inline as label_pdf_base64. Decode it and
store the PDF:
jq -r .label_pdf_base64 shipment.json | base64 --decode > label.pdfDownloading it again
Section titled “Downloading it again”GET /api/v1/shipments/{shipment_id}/labelAuthorization: Bearer <api-key>Returns 200 with Content-Type: application/pdf. A shipment that never
reached ROUTED has no label and returns 404.