draftOrderComplete mutation
Completes a draft order and creates an order.
Required access
write_draft_orders
access scope.
On this page
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
Argument | Description |
---|---|
id
(
ID!
)
required
|
Specifies the draft order to complete. |
paymentPending
(
Boolean
)
|
Specifies whether the payment is pending or not. |
Return fields
-
draftOrder (
DraftOrder
)The completed draft order.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Completes a draft order and creates an order.
Required access
write_draft_orders
access scope.
On this page
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
Argument | Description |
---|---|
id
(
ID!
)
required
|
Specifies the draft order to complete. |
paymentPending
(
Boolean
)
|
Specifies whether the payment is pending or not. |
Return fields
-
draftOrder (
DraftOrder
)The completed draft order.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Completes a draft order and creates an order.
Required access
write_draft_orders
access scope.
On this page
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
Argument | Description |
---|---|
id
(
ID!
)
required
|
Specifies the draft order to complete. |
paymentPending
(
Boolean
)
|
Specifies whether the payment is pending or not. |
Return fields
-
draftOrder (
DraftOrder
)The completed draft order.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Completes a draft order and creates an order.
Required access
write_draft_orders
access scope.
On this page
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
Argument | Description |
---|---|
id
(
ID!
)
required
|
Specifies the draft order to complete. |
paymentPending
(
Boolean
)
|
Specifies whether the payment is pending or not. |
Return fields
-
draftOrder (
DraftOrder
)The completed draft order.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Completes a draft order and creates an order.
Required access
write_draft_orders
access scope.
On this page
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
Argument | Description |
---|---|
id
(
ID!
)
required
|
Specifies the draft order to complete. |
paymentPending
(
Boolean
)
|
Specifies whether the payment is pending or not. |
Return fields
-
draftOrder (
DraftOrder
)The completed draft order.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Completes a draft order and creates an order.
Required access
write_draft_orders
access scope.
On this page
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
Argument | Description |
---|---|
id
(
ID!
)
required
|
Specifies the draft order to complete. |
paymentPending
(
Boolean
)
|
Specifies whether the payment is pending or not. |
Return fields
-
draftOrder (
DraftOrder
)The completed draft order.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Completes a draft order and creates an order.
Required access
write_draft_orders
access scope.
On this page
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
Argument | Description |
---|---|
id
(
ID!
)
required
|
Specifies the draft order to complete. |
paymentPending
(
Boolean
)
|
Specifies whether the payment is pending or not. |
Return fields
-
draftOrder (
DraftOrder
)The completed draft order.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Completes a draft order and creates an order.
Required access
write_draft_orders
access scope.
On this page
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
Argument | Description |
---|---|
id
(
ID!
)
required
|
Specifies the draft order to complete. |
paymentPending
(
Boolean
)
|
Specifies whether the payment is pending or not. |
Return fields
-
draftOrder (
DraftOrder
)The completed draft order.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Completes a draft order and creates an order.
Required access
write_draft_orders
access scope.
On this page
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
Argument | Description |
---|---|
id
(
ID!
)
required
|
Specifies the draft order to complete. |
paymentPending
(
Boolean
)
|
Specifies whether the payment is pending or not. |
Return fields
-
draftOrder (
DraftOrder
)The completed draft order.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Completes a draft order and creates an order.
Required access
write_draft_orders
access scope.
On this page
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
Argument | Description |
---|---|
id
(
ID!
)
required
|
Specifies the draft order to complete. |
paymentPending
(
Boolean
)
|
Specifies whether the payment is pending or not. |
Return fields
-
draftOrder (
DraftOrder
)The completed draft order.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.