create-draft-order
Create a draft order with line items, customer details, shipping address, and an optional discount, then convert it to a real Shopify order when ready.
Instructions
Create a draft order with line items, customer, shipping address, and optional discount. Draft orders can be converted to real orders.
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 | ||
| tags | No | ||
| No | |||
| lineItems | Yes | ||
| taxExempt | No | ||
| customerId | No | Customer ID | |
| billingAddress | No | ||
| appliedDiscount | No | ||
| shippingAddress | No |