Anchor to section titled 'undefined'

DraftOrderUpdatePayload
payload

Return type for draftOrderUpdate mutation.


The updated draft order.

The list of errors that occurred from executing the mutation.


Was this section helpful?

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.


Was this section helpful?
Map

Mutation with this payload

DraftOrderUpdatePayload