Skip to main content
mutation

Requires write_draft_orders access scope. Also: The user must have access to manage draft orders.

Creates a draft order with attributes such as customer information, line items, shipping and billing addresses, and payment terms. Draft orders are useful for merchants that need to:

  • Create new orders for sales made by phone, in person, by chat, or elsewhere. When a merchant accepts payment for a draft order, an order is created.
  • Send invoices to customers with a secure checkout link.
  • Use custom items to represent additional costs or products not in inventory.
  • Re-create orders manually from active sales channels.
  • Sell products at discount or wholesale rates.
  • Take pre-orders.

After creating a draft order, you can:


Note

When you create a draft order, you can't reserve or hold inventory for the items in the order by default. However, you can reserve inventory using the reserveInventoryUntil input.


•DraftOrderInput!required

The fields used to create the draft order.


Was this section helpful?

Anchor to DraftOrderCreatePayload returnsDraftOrderCreatePayload returns

•DraftOrder

The created draft order.

•[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?