create_draft_order
Create a draft order with line items, customer, and shipping details that can be sent to a customer or completed directly in Shopify.
Instructions
Create a draft order that can be sent to customer or completed directly
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 | ||
| No | Customer email | ||
| lineItems | Yes | Line items for the order | |
| customerId | No | Customer ID | |
| shippingAddress | No |