GraphQL OBJECT

Cart

Preview of shopping cart with product and pricing information.

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
  • # The business model that applies to this cart.
  • businessModel: BusinessModel!
  • # Items in shopping cart.
  • cartItems: [CartItem]
  • # Country for which taxes are calculated.
  • country: Country
  • # Coupon code for a promotion associated with the cart.
  • couponCode: String
  • # Currency in which the price is presented.
  • currency: Currency
  • # Discount pricing.
  • #
  • # Arguments
  • # includedDiscountTypes: Input to filter for specific discount
  • # types only.
  • discounts(includedDiscountTypes: [DiscountPriceTypeEnum!]): [TypedPrice]
  • # URL from which the customer entered the checkout.
  • httpEntryUrl: String
  • # The id which was entered in the input.
  • id: String
  • # 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
  • # Total pricing information for the next interval for all of the items in the
  • # cart.
  • nextBillingAmount: Price
  • # 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!
  • # Total pricing information for all of the items in the cart without discount.
  • totalPriceWithoutDiscount: Price!
  • # List of vat groups which are in the cart.
  • totalPriceVatGroups: [TotalPriceTaxGroup]! @deprecated( reason: "Renamed to totalPriceTaxGroups." )
  • # List of tax groups which are in the cart.
  • totalPriceTaxGroups: [TotalPriceTaxGroup]!
  • # Sorted listed of client language preferences.
  • userLanguages: [String]
  • # List of parameters that were present in the entry URL.
  • urlParameters: [UrlParameter]
  • # Renewal type of the subscription.
  • renewalType: SubscriptionRenewalType
  • }