GraphQL OBJECT

Cart

link Definition

  • type Cart {
  • # Absolute value of the accumulated discounts of all items in the cart.
  • absoluteDiscount: Price
  • # The id of the affiliate.
  • affiliateId: Int
  • # Items in shopping cart.
  • cartItems: [CartItem]
  • # Country for which taxes are calculated.
  • country: Country
  • # Currency in which the price is presented.
  • currency: Currency
  • # Language in which product-related text should be localized.
  • language: Language
  • # Locale in which product-related numbers should localized. This is the
  • # two-character ID of the contact's language (see ISO 639-1) followed by
  • # two-character ID of the contact's country (see ISO 3166-1 alpha-2).
  • locale: String
  • # The IPv4-Address that corresponds with the country, state, etc. of the customer.
  • # This is used when CountryId is not set.
  • remoteIpAddress: String
  • # Indicates whether cart prices might be subject to sales tax.
  • salesTaxMightApply: Boolean
  • # State for which taxes are calculated.
  • state: State
  • # Total pricing information for all of the items in the cart.
  • totalPrice: Price!
  • # List of tax groups which are in the cart.
  • totalPriceTaxGroups: [TotalPriceTaxGroup]!
  • # List of vat groups which are in the cart.
  • totalPriceVatGroups: [TotalPriceTaxGroup]! @deprecated( reason: "Renamed to totalPriceTaxGroups." )
  • # Total pricing information for all of the items in the cart without discount.
  • totalPriceWithoutDiscount: Price!
  • # Sorted listed of client language preferences.
  • userLanguages: [String]
  • }