GraphQL INPUT_OBJECT

CartInput

Input for shopping cart preview.

link Definition

  • input CartInput {
  • # The Accept-Language header as submitted by the customer's browser.
  • acceptLanguage: String
  • # List of product and pricing items.
  • cartItems: [CartItemInput]!
  • # Unique ID of the client account.
  • clientId: Int!
  • # Two-character ID of the country for which taxes are calculated. If not set, the
  • # country is based on the customer's GeoIP location.
  • countryId: CountryEnum
  • # Coupon code for a promotion applied to item(s) in the cart.
  • couponCode: String
  • # Currency code. If not set, the currency is based on the customer's GeoIP
  • # location.
  • currencyId: CurrencyEnum
  • # ID to return for this cart.
  • id: String
  • # Two-character ID of the contact's language. If not set, the language is based on
  • # the customer's browser settings.
  • languageId: LanguageEnum
  • # Price configuration that you would like to apply.
  • priceRule: String
  • # Contact's postal code.
  • postalCode: String
  • # The IPv4-Address that corresponds with the country, state, etc. of the customer,
  • # if CountryIsoCode is not set. Defaults to IP address of request.
  • remoteIpAddress: String
  • # Five- or six-character ID of the customer's country and state based on ISO
  • # 3166-2. It is required for Australia, Brazil, Canada, India, Ireland, Japan, the
  • # UAE, and the USA.
  • stateId: StateEnum
  • # Package discount that should be applied to the cart.
  • packageDiscount: String
  • }

link Required by