Marketplace API / Types

CheckoutPricingPreviewInput

Input

Details for previewing the totals of a single-variant checkout (buy-now, offer, or auction).

input CheckoutPricingPreviewInput

Input fields

FieldTypeDescription
addressIdID!Shipping address the preview is quoted against.
checkoutTypeCheckoutType!The checkout flow being previewed. Affects which automatic promotions apply. CART is not valid here; use cartPricingPreview. Default: BUY_NOW.
incentiveCodeStringOptional discount or incentive code to apply.
productVariantIdID!The product variant to price.
quantityPositiveInt!Number of units.
unitPriceMoneyInput!Price per unit to quote at, such as an offer or bid amount.