Marketplace API / Types

CheckoutInput

Input

Details for a buy-now checkout.

input CheckoutInput

Input fields

FieldTypeDescription
addressIdID!Shipping address for delivery and tax calculation.
idempotencyKeyStringClient-generated key that prevents duplicate checkouts. Reuse it when retrying the same request.
incentiveCodeStringOptional discount or incentive code to apply.
paymentMethodCheckoutPaymentMethod!Payment method. paymentMethodId is required for STRIPE and ignored for PAYPAL and VENMO.
paymentMethodIdStringSaved payment method ID. Required for STRIPE.
productVariantIdID!The product variant to purchase.
quantityPositiveInt!Number of units to purchase.