Create draft freight order
deftship_create_freight_orderCreate a draft freight order (visible on Open Orders page) without purchasing. Update an existing draft by passing the shipment_order_id.
Instructions
Create a draft freight order visible on the Open Orders page. Does not purchase. Returns the shipment_order_id. Pass shipment_order_id to update an existing draft.
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": {
"pickup_date": "<pickup_date>",
"from_opening_time": "<from_opening_time>",
"from_closing_time": "<from_closing_time>",
"from_address": "<from_address>",
"to_opening_time": "<to_opening_time>",
"to_closing_time": "<to_closing_time>",
"to_address": "<to_address>",
"items": "<items>"
},
"name": "deftship_create_freight_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Freight line items. | |
| to_address | Yes | Receiver address (with accessorial flags). | |
| pickup_date | Yes | Proposed pickup date, format Y-m-d. | |
| from_address | Yes | Sender address (with accessorial flags). | |
| to_closing_time | Yes | Delivery address closing time, format H:i. | |
| to_instructions | No | Special instructions for delivery. | |
| to_opening_time | Yes | Delivery address opening time, format H:i. | |
| from_closing_time | Yes | Pickup address closing time, format H:i. | |
| from_instructions | No | Special instructions for pickup. | |
| from_opening_time | Yes | Pickup address opening time, format H:i. | |
| shipment_order_id | No | Existing order id to update. |