CartSubmitInput
The input fields to provide the necessary information to submit a cart for processing through the submitCart mutation. By providing the cart ID, tokenized payment information, and billing address, the API can process the payment and complete the purchase. Once the cart is submitted, the user’s payment is processed, and the purchased items are prepared for shipping or digital delivery, as applicable.
Fields
The ID of the cart that the user wants to submit for processing. It’s a unique identifier for the cart in the system, and it’s used to identify the cart that needs to be submitted.
The tokenized credit card value represents the payment information provided by the user. This token is generated by a secure payment processor, and it ensures the user’s sensitive payment data is not exposed or stored in the API. The token is used by the API to charge the user’s credit card for the purchase.
The BillingAddressInput
object containing the billing address information.
The selected shipping options for each store. If multiple shipping options are selected for a store, the last one selected will be used. If a store in the cart already has a shipping option selected (via the updateCartSelectedShippingOptions
mutation), the selection specified here will override the previous one.
Field to set cart settings on cart creation.
Represents promo codes applied per store see StorePromoCodesInput
for more details.
- Currently promo codes work only for Shopify stores through our Sell Anything API
- Shopify stores support only one promo code per store
Mutations
Related types
Was this page helpful?