createDraftOrder
Creates a Shopify draft order from line items, optionally adding customer details, email, addresses, tags, and notes for later review or invoice.
Instructions
Create 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": "createDraftOrder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| tags | No | ||
| No | |||
| lineItems | Yes | ||
| customerId | No | ||
| billingAddress | No | ||
| shippingAddress | No |