create_draft_order
Creates a draft order by providing line items (variant ID and quantity) and optional customer, note, and tags.
Instructions
Creates a draft order
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": {
"lineItems": "<lineItems>"
},
"name": "create_draft_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Order note | |
| tags | No | Tags | |
| lineItems | Yes | Order line items | |
| customerId | No | Customer GID (optional) |