1. Home
  2. Docs
  3. API documentation
  4. partner API
  5. Fetch a PDF label

Fetch a PDF label

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

NameTypeDescription
idstringUnique parcel ID. You have received parcel ID after a successful delivery request creation or you can list all parcels, see /parcels

See an example of a successful integration:

GET /parcels

curl -X 'GET' \
  ‘.../parcels/{id}/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.