Marketplace API / Types
CheckoutInput
InputDetails for a buy-now checkout.
input CheckoutInputInput fields
| Field | Type | Description |
|---|---|---|
addressId | ID! | Shipping address for delivery and tax calculation. |
idempotencyKey | String | Client-generated key that prevents duplicate checkouts. Reuse it when retrying the same request. |
incentiveCode | String | Optional discount or incentive code to apply. |
paymentMethod | CheckoutPaymentMethod! | Payment method. paymentMethodId is required for STRIPE and ignored for PAYPAL and VENMO. |
paymentMethodId | String | Saved payment method ID. Required for STRIPE. |
productVariantId | ID! | The product variant to purchase. |
quantity | PositiveInt! | Number of units to purchase. |