create_draft_order
Create a draft order in Shopify with line items, customer details, and shipping addresses to manage pre-orders or quotes.
Instructions
Create a new draft order. Provide line items (variant-based or custom), an optional customer, and shipping/billing addresses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_items | Yes | Line items for the draft order. | |
| customer_id | No | Associate with an existing customer ID. | |
| No | Customer email for the draft order. | ||
| note | No | Note for the draft order. | |
| tags | No | Comma-separated tags. | |
| shipping_address | No | Shipping address. | |
| use_customer_default_address | No | Use the customer's default address. | |
| tax_exempt | No | Whether the draft order is tax-exempt. |