Anchor to draftOrderCompletedraft
draft Order Complete
mutation
Requires 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 Arguments
Arguments
- •ID!required
The draft order to complete.
- Anchor to paymentGatewayIdpayment•
Gateway Id The gateway for the completed draft order.
- Anchor to sourceNamesource•
Name A channel definition handle used for sales channel attribution.
- Anchor to paymentPendingpayment•
Pending BooleanDefault:false Whether the payment is pending.
Was this section helpful?
- Anchor to draftOrderdraft•
Order The completed draft order.
- Anchor to userErrorsuser•
Errors [UserError!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?