Anchor to draftOrderPrepareForBuyerCheckoutdraft
mutationdraft Order Prepare For Buyer Checkout
Requires 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 Arguments
Arguments
- Anchor to allowDiscountCodesInCheckoutallow•Boolean
Discount Codes In Checkout Whether discount codes are allowed during checkout of this draft order.
- Anchor to bypassCartValidationsbypass•Boolean
Cart Validations Whether to bypass cart validations on this draft order.
- •ID!required
The draft order to prepare for buyer checkout.
- Anchor to lockPricesForBuyerlock•Lock
Prices For Buyer Draft Order Prices For Buyer Whether to create price locks when preparing this draft for buyer checkout.
Was this section helpful?
Anchor to DraftOrderPrepareForBuyerCheckoutPayload returnsDraft Order Prepare For Buyer Checkout Payload returns
- Anchor to draftOrderdraft•Draft
Order Order The prepared draft order.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?