Skip to main content
Anchor to draftOrderCreateFromOrder

draftOrderCreateFromOrder

mutation

Requires write_draft_orders access scope. Also: Requires write_orders access scope.

Creates a draft order from order.

ID!required

Specifies the order's id that we create the draft order from.


Was this section helpful?

Anchor to DraftOrderCreateFromOrderPayload returnsDraftOrderCreateFromOrderPayload returns

DraftOrder

The created draft order.

[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?