CartLineItem
Describes a cart line item, including product details, pricing, and attributes.
Type Definition
type CartLineItem {
type: String
model: String
image: String
categoryPath: [String]
lineDiscount: Float
price: Float
linePrice: Float
netPrice: Float
tax: Float
quantity: Int
title: String
description: String
attributesLabel: String
attributes: [String]
customizations: [CartLineCustomization]
gtin: String
manufacturer: String
unit: String
productUrl: String
bundleItems: [CartLineItem]
giftCardCode: String
giftCardValue: Float
giftCardExpiry: String
product: Product
rate: Float
ratePercentage: Float
id: Int
}Fields
Relationships
CartLineItem represents individual items within a shopping cart. It contains details about products, bundles, and gift cards. Each line item includes pricing information (unit price, line price, taxes, and discounts), product attributes and customizations, and references to the associated Product object. For bundle-type items, CartLineItem recursively contains nested CartLineItem objects through the bundleItems field. Customizations are provided through CartLineCustomization objects for enhanced attribute data.
Example
{
id
type
title
description
quantity
price
linePrice
tax
lineDiscount
model
gtin
manufacturer
image
productUrl
attributesLabel
attributes
customizations {
key
value
}
product {
id
name
}
}Implements
None