Create draft parcel order
deftship_create_parcel_orderCreate a draft parcel order that appears on the Open Orders page without purchasing a label. Optionally update an existing draft by providing its shipment_order_id.
Instructions
Create a draft parcel order that appears on the Open Orders page in the dashboard. Does not purchase a label. 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": {
"to_address": "<to_address>",
"package_list": "<package_list>"
},
"name": "deftship_create_parcel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_address | Yes | Receiver address. | |
| length_unit | No | Length unit. Defaults to your account preference. | |
| weight_unit | No | Weight unit. Defaults to your account preference. | |
| from_address | No | Sender address. Required if from_address_id is not given. | |
| package_list | Yes | Packages in this shipment. | |
| extra_services | No | Optional extra carrier services. All default to false. | |
| customs_details | No | Customs details container for international shipments | |
| from_address_id | No | Saved sender address id. Provide this OR from_address. | |
| return_address_id | No | Saved return address id. | |
| shipment_order_id | No | Existing order id to update. Omit to create a new draft. |