Upload Attachments
machship_upload_attachmentsAttach files to a Machship consignment by providing the consignment ID, file name, and base64-encoded content.
Instructions
Uploads one or more attachments to Machship.
Args:
attachments (array): Array of attachment objects. Each object should contain:
consignmentId (number): Consignment to attach to
fileName (string): File name with extension
fileBase64 (string): Base64-encoded file content
attachmentTypeId (number, optional): Type of attachment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachments | Yes | Attachments to upload |