draftOrderComplete

Version 2019-04

Completes a draft order.

Required access

write_draft_orders access scope

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

Specifies the draft order to complete.

paymentPending ( Boolean )

Specifies whether the payment is pending or not.
Default value: true

Return Fields

draftOrder (DraftOrder)

The completed draft order.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07

Completes a draft order.

Required access

write_draft_orders access scope

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

Specifies the draft order to complete.

paymentPending ( Boolean )

Specifies whether the payment is pending or not.
Default value: true

Return Fields

draftOrder (DraftOrder)

The completed draft order.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Latest)

Completes a draft order.

Required access

write_draft_orders access scope

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

Specifies the draft order to complete.

paymentPending ( Boolean )

Specifies whether the payment is pending or not.
Default value: true

Return Fields

draftOrder (DraftOrder)

The completed draft order.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-01 (Release candidate)

Completes a draft order.

Required access

write_draft_orders access scope

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

id ( ID! ) required

Specifies the draft order to complete.

paymentPending ( Boolean )

Specifies whether the payment is pending or not.
Default value: true

Return Fields

draftOrder (DraftOrder)

The completed draft order.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up