Get Consignment PDF File Info
machship_get_consignment_pdf_file_infoRetrieves a consignment label PDF as JSON by consignment ID, returning base64 content with fileName and contentType.
Instructions
Returns the consignment label PDF as JSON. object.content holds the file as base64, with object.fileName and object.contentType.
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 |