Direct API

Label Download

Download shipping labels in PDF format

POST
/orders/labels

Download shipping labels in PDF format for multiple orders combined into a single document

Parameters

Name Type Required Description
order_idsarrayYesArray of integers - Order IDs to generate labels for
formatstringYesLabel format - "A4" or "A6"

Request Example

REQUESTJSON
{
  "order_ids": [
    100,
    102
  ],
  "format": "A4"
}

Response Codes

Code Status Description
200SuccessPDF with all selected order labels downloaded
400Bad RequestInvalid format or order IDs
401UnauthorizedInvalid or missing API key
403ForbiddenCustomer doesn't own one or more of these orders
404Not FoundOrders not found
500Internal Server ErrorServer error occurred

Response Format

Field Type Description
Response BodybinaryPDF file containing all requested shipping labels
Content-Typestringapplication/pdf
Content-Dispositionstringattachment; filename="labels.pdf"

Response Example

RESPONSEJSON
Binary PDF file containing all requested shipping labels combined into a single document

Response Headers:
Content-Type: application/pdf
Content-Disposition: attachment; filename="labels.pdf"

Complete API Reference

For interactive testing and additional technical details, visit our complete Swagger documentation.

View in Swagger Documentation