Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to draftOrderPrepareForBuyerCheckout

draftOrderPrepareForBuyerCheckout

mutation

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

Updates a draft order before sending the invoice to the buyer by configuring settings relevant to the draft order.

Anchor to allowDiscountCodesInCheckoutallowDiscountCodesInCheckout

Whether discount codes are allowed during checkout of this draft order.

Anchor to bypassCartValidationsbypassCartValidations

Whether to bypass cart validations on this draft order.

ID!required

The draft order to prepare for buyer checkout.

Whether to create price locks when preparing this draft for buyer checkout.


Was this section helpful?

Anchor to DraftOrderPrepareForBuyerCheckoutPayload returnsDraftOrderPrepareForBuyerCheckoutPayload returns

The prepared draft order.

The list of errors that occurred from executing the mutation.


Was this section helpful?