Skip to main content
Log inSign up
mutation

Requires write_draft_orders access scope. Also: The user must have access to mark as paid, or set payment terms.

Completes a draft order and creates an order.

Anchor to bypassCartValidationsbypassCartValidations
•
BooleanDefault:false

Whether to bypass cart and checkout validations. This will ignore any validations added by apps during completion.

•
ID!required

The draft order to complete.

•

The gateway for the completed draft order.

•

A channel definition handle used for sales channel attribution.

•
BooleanDeprecatedDefault:false

Whether the payment is pending. Create a draft with payment terms rather than marking the draft as pending.


Was this section helpful?

Anchor to DraftOrderCompletePayload returnsDraftOrderCompletePayload returns

•

The completed draft order.

•

The list of errors that occurred from executing the mutation.


Was this section helpful?