CartSubmitInput is used 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.


id: ID!

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.

token: String!

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.

billingAddress: BuyerIdentityInput

The BuyerIdentityInput object containing the billing address information.

selectedShippingOptions: [SelectedShippingOption!]!

The selected shipping options.