Get Consignment Label PDF
machship_get_consignment_label_pdfRetrieve a consignment label as a PDF using its consignment ID, returning the file in Base64 with content type and size for printing or recordkeeping.
Instructions
Returns the consignment label PDF. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header.
Args:
consignmentId (number): Consignment ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| consignmentId | Yes | Consignment ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |