Create Pending Consignment
machship_create_pending_consignmentCreates a draft consignment to stage shipment details before rating or carrier assignment, which can be converted after quoting.
Instructions
Creates a pending consignment — a draft/staging consignment that hasn't been rated or assigned to a carrier yet. Pending consignments can be converted to full consignments after quoting.
Args:
consignment (object): Pending consignment data including companyId, from/to address, items, references, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| consignment | Yes | Pending consignment data (companyId, fromAddress, toAddress, items, reference1, reference2) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |