Ship Out
ship_outShip a fully packed ship list out — the packing screen's Finish packing and Ship out buttons. step=ship (default) finishes packing if needed and ships: the packed units leave inventory against the order (a sales order's stock is sold; a transfer's goes in transit to the destination) and the order's status moves on. step=finish_packing only marks the list ready to ship. Every line must be packed exactly (see get_ship_list). Does not buy a carrier label or create an invoice. Two-step: preview=true, then commit with the previewReceipt.
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": {
"shipListId": "<shipListId>"
},
"name": "ship_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | ship (default) or finish_packing. | |
| preview | No | Step 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing is written until the commit call. | |
| clientId | No | Optional client id (GUID) for operator (unpinned) credentials on 3PL tenants. | |
| shipListId | Yes | Ship list id (GUID) or number from list_ship_lists. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2: the receipt returned by the preview call. Supply with a fresh idempotencyKey to commit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| preview | No | ||
| expiresAt | No | ||
| shipListId | No | ||
| statusAfter | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| shipListNumber | No | ||
| idempotentReplay | No | ||
| documentStatusAfter | No |