Get Item Labels ZIP (Batch)
machship_get_item_labels_zipGets item labels as a zip file for up to 40 consignments. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header.
Instructions
Gets item labels as a zip file for up to 40 consignments. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header.
Args:
consignmentIds (number[]): Consignment IDs (max 40)
printA4 (boolean, optional): Print in A4 format
singlePdf (boolean, optional): Combine all labels into a single PDF inside the zip
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printA4 | No | Print in A4 format | |
| singlePdf | No | Combine into single PDF | |
| consignmentIds | Yes | Consignment IDs (max 40) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |