1. Home
  2. Docs
  3. API documentation
  4. partner API
  5. Fetch all PDF labels

Fetch all PDF labels

Use this call to request all parcel labels in delivery request in .pdf file with a label you should print a stick onto each
Only this parameter is available to you:

orderNumberstringUnique order number in Your system. The same you use to create the delivery request.

See an example of a successful integration:

GET /parcels

curl -X 'GET' \
  '.../delivery-requests/{orderNumber}/label.pdf' \
  -H 'accept: application/pdf'

Status Code 200
.pdf file with the corresponding label

Status Code 401

Not Authorized. You are either using an expired Access token to access the data or trying to initialize Auth session with invalid data.

Status Code 404

Resource not found. You are authorized but the requested resource does not exist. Make sure the requested URL is correct.