Skip to main content
Anchor to DraftOrderPrepareForBuyerCheckoutPayload

DraftOrderPrepareForBuyerCheckoutPayload

payload

Return type for draftOrderPrepareForBuyerCheckout mutation.

•DraftOrder

The prepared draft order.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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

Arguments

•ID!
required

The draft order to prepare for buyer checkout.

•LockDraftOrderPricesForBuyer

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

Anchor to allowDiscountCodesInCheckoutallowDiscountCodesInCheckout
•Boolean

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

Anchor to bypassCartValidationsbypassCartValidations
•Boolean

Whether to bypass cart validations on this draft order.



Was this section helpful?