Fields

id
ID!
required

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!
required

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

The BillingAddressInput object containing the billing address information.

selectedShippingOptions

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.

cartSettings

Field to set cart settings on cart creation.

experimentalPromoCodes

Represents promo codes applied per store see StorePromoCodesInput for more details.

This field is experimental and might be changed or removed in the future.
  • Currently promo codes work only for Shopify stores through our Sell Anything API
  • Shopify stores support only one promo code per store

Mutations