Docs
Dashboard

CartCreateInput

Input

This is the input type for creating a cart.

#

Fields


billingAddress
CartAddressInput

Optional billing address for the cart.

countryCode
String

Two-digit country code as per ISO 3166-1 alpha-2

currency
String!

ISO 4217 currency code.

customerEmail
String

Email address of the customer associated with the cart.

customerId
ID

The unique identifier of the customer associated with the cart.

lineItems
[CartLineItemInput!]

Optional list of line items to be added to the cart.

marketingConsent
Boolean

Optional marketing consent preference associated with the cart.

priceChannelId
ID

Optional unique identifier of the price channel.

shippingAddress
CartAddressInput

Optional shipping address for the cart.

storeId
ID!

The unique identifier of the store.