Anchor to section titled 'undefined'

draftOrderUpdate
mutation

Requires write_draft_orders access scope. Also: The user must have access to manage draft orders.

Updates a draft order.

If a checkout has been started for a draft order, any update to the draft will unlink the checkout. Checkouts are created but not immediately completed when opening the merchant credit card modal in the admin, and when a buyer opens the invoice URL. This is usually fine, but there is an edge case where a checkout is in progress and the draft is updated before the checkout completes. This will not interfere with the checkout and order creation, but if the link from draft to checkout is broken the draft will remain open even after the order is created.


Anchor to id
id
required

Specifies the draft order to update.

The draft order properties to update.


Was this section helpful?

The updated draft order.

The list of errors that occurred from executing the mutation.


Was this section helpful?