Marketplace API / Types
CheckoutCartInput
InputDetails for checking out a cart.
input CheckoutCartInputInput fields
| Field | Type | Description |
|---|---|---|
addressId | ID! | Shipping address for delivery and tax calculation. |
cartId | ID! | The cart to check out. |
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. |