Marketplace API / Types
CheckoutPricingPreviewInput
InputDetails for previewing the totals of a single-variant checkout (buy-now, offer, or auction).
input CheckoutPricingPreviewInputInput fields
| Field | Type | Description |
|---|---|---|
addressId | ID! | Shipping address the preview is quoted against. |
checkoutType | CheckoutType! | The checkout flow being previewed. Affects which automatic promotions apply. CART is not valid here; use cartPricingPreview. Default: BUY_NOW. |
incentiveCode | String | Optional discount or incentive code to apply. |
productVariantId | ID! | The product variant to price. |
quantity | PositiveInt! | Number of units. |
unitPrice | MoneyInput! | Price per unit to quote at, such as an offer or bid amount. |