Skip to main content
Use this endpoint to download the printable Air Waybill (AWB) shipping label for an order. Print the label and affix it to the package before handing it to the courier. The response is a binary PDF — not JSON.

Authentication

Path parameter

Query parameter

string
Label paper size. Accepted values: A4 or A5. Default: A4.
Choose A5 if you are printing on a dedicated thermal or label printer. Use A4 for standard office printers.

Request

Use the -o flag in curl to save the binary response directly to a file:
To download an A5-sized label:

Response

200 — PDF binary

The response body is the raw PDF file. The Content-Type header is application/pdf.
Do not attempt to parse the AWB response as JSON. Pass it directly to a file stream, a PDF renderer, or a print queue.

Handling the binary in code

Error responses