Create draft order
documentedCreate a draft order.
POST /admin/api/2026-01/draft_orders.jsonOrdersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$shop_domain}}.myshopify.com/admin/api/2026-01/draft_orders.json" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"draft_order": {"line_items": [{"title": "{{$line_item_title}}", "price": "{{$line_item_price}}", "quantity": {{$line_item_quantity}}}], "customer": {"id": {{$customer_id}}}, "use_customer_default_address": true}}'