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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"consignmentIds": "<consignmentIds>"
},
"name": "machship_get_item_labels_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 |