Shipment → Get Label
AI-generatedSummary
Downloads a shipment label as a PDF for the specified shipment, using the selected paper format. The PDF is returned as binary data, with the shipment ID in the item’s JSON data.
Inputs
- Shipment ID (required) — The ID of the shipment to retrieve the label for.
- Label Format — Label paper format: A4 (default) or A6.
Output shape
One item per input item, with JSON data containing shipmentId and binary data containing the PDF label.
The PDF is exposed as binary property
data, with filenamelabel-{shipmentId}.pdfand MIME typeapplication/pdf. Requires InPost API credentials, including an organization ID.