Download shipment label
Downloads the shipment’s existing PDF label through a signed URL.
Prerequisites
- The service must support printable labels.
- The shipment must be
BOOKED,PICKED_UP, orDELIVERED. - A PDF label must already exist.
Behavior
- Follow the
302 Locationredirect. The URL expires after five minutes; request a fresh URL when needed. - This endpoint does not book shipments or regenerate labels.
labelReadyindicates lifecycle readiness. It does not check whether the PDF exists.409 LABEL_NOT_READYmeans the shipment or PDF is not ready.400 LABEL_NOT_SUPPORTEDmeans the service has no printable label.
Permission
SHIPMENTS_READ
See Troubleshooting for authentication, access, rate-limit, and service errors.
GET
/shipments/{id}/labelAuthorization
AuthorizationBearer token · headerrequiredRequired header: Authorization: Bearer <customer-api-key>. Use a Customer API key with the operation's required permission. Never use a dashboard or webshop token.
Path parameters
idstringrequiredID of the shipment. Obtain it from a list or create response. Unavailable IDs return 404.
min length 1
Responses
302
Redirect to the existing PDF label. Signed URL expires after five minutes; fetch a fresh URL rather than storing it.
400
Invalid input or unsupported operation.
successanyrequiredmessagestringrequireddataanyrequiredrequestIdstringrequirederrorCodestringrequirederrorsobject | anyrequiredShow propertiesHide properties
Any of:
object
fieldsobject[]Show propertiesHide properties
Array of
objectpathstringrequirederrorCodestringrequiredmessagestringrequiredpricePriceShow propertiesHide properties
currencystringrequiredbaseAmountstringrequiredsurchargeAmountstringrequiredpalletExchangeAmountstringrequiredtaxAmountstringrequiredtotalAmountstringrequiredcurrentStatusstringretryAfterSecondsintegermin 1
any
any404
Resource does not exist or belongs to another account.
successanyrequiredmessagestringrequireddataanyrequiredrequestIdstringrequirederrorCodestringrequirederrorsobject | anyrequiredShow propertiesHide properties
Any of:
object
fieldsobject[]Show propertiesHide properties
Array of
objectpathstringrequirederrorCodestringrequiredmessagestringrequiredpricePriceShow propertiesHide properties
currencystringrequiredbaseAmountstringrequiredsurchargeAmountstringrequiredpalletExchangeAmountstringrequiredtaxAmountstringrequiredtotalAmountstringrequiredcurrentStatusstringretryAfterSecondsintegermin 1
any
any409
Label is not ready or its PDF does not exist.
successanyrequiredmessagestringrequireddataanyrequiredrequestIdstringrequirederrorCodestringrequirederrorsobject | anyrequiredShow propertiesHide properties
Any of:
object
fieldsobject[]Show propertiesHide properties
Array of
objectpathstringrequirederrorCodestringrequiredmessagestringrequiredpricePriceShow propertiesHide properties
currencystringrequiredbaseAmountstringrequiredsurchargeAmountstringrequiredpalletExchangeAmountstringrequiredtaxAmountstringrequiredtotalAmountstringrequiredcurrentStatusstringretryAfterSecondsintegermin 1
any
any