CartMainItem
Main cart item entity for GraphQL federation.
Represents a primary cart item with complete identification fields for federation. Used for main cart item operations and cross-service cart management.
type CartMainItem implements ICartBaseItem {
itemId: String!
productId: Int
bundleId: String
bundle(
taxZone: String = "NL"
): Bundle
parentItemUUID: String
notes: String
price: Float!
priceNet: Float!
priceMode: PriceMode
totalPrice: Float!
totalPriceNet: Float!
sum: Float!
sumNet: Float!
totalSum: Float!
totalSumNet: Float!
quantity: Int!
clusterId: Int
taxCode: Taxcode!
deliveryDate: DateTime
deliveryDeadline: DateTime
discount: Float!
discountPercentage: Float!
surcharges: [CartItemSurcharge!]
incentive: CartItemIncentive
requestDate: DateTime
childItems: [CartBaseItem!]
product(
hidden: Boolean
): Product
}
Fields
CartMainItem.itemId
● String!
non-null scalar
Item ID of the cart item, this id can be used for update or delete mutation for this cart item.
CartMainItem.productId
● Int
scalar
Cart item's productId if applicable
CartMainItem.bundleId
● String
scalar
Cart item's bundleId if applicable
CartMainItem.bundle
● Bundle
object
Bundle
CartMainItem.bundle.taxZone
● String
scalar
CartMainItem.parentItemUUID
● String
scalar
Id of the parent cart item.
CartMainItem.notes
● String
scalar
User notes on cart item level
CartMainItem.price
● Float!
non-null scalar
Gross price per UOM of this cart item, no item specific discounts are applied to this price.
CartMainItem.priceNet
● Float!
non-null scalar
Net price per UOM of this cart item, no item specific discounts are applied to this price.
CartMainItem.priceMode
● PriceMode
enum
Price mode for this cart item, if not set the platform default will be used.
CartMainItem.totalPrice
● Float!
non-null scalar
Total gross price for this cart item, including item specific discounts.
CartMainItem.totalPriceNet
● Float!
non-null scalar
Total net price for this cart item, including item specific discounts.
CartMainItem.sum
● Float!
non-null scalar
Gross sum of the main cart price and the prices of its child items per UOM. No item specific discounts are applied to this price.
CartMainItem.sumNet
● Float!
non-null scalar
Net sum of the main cart price and the prices of its child items per UOM. No item specific discounts are applied to this price.
CartMainItem.totalSum
● Float!
non-null scalar
Total gross sum of the main cart price and the prices of its child items. Including item specific discounts.
CartMainItem.totalSumNet
● Float!
non-null scalar
Total net sum of the main cart price and the prices of its child items. Including item specific discounts.
CartMainItem.quantity
● Int!
non-null scalar
Quantity for this cart item
CartMainItem.clusterId
● Int
scalar
Cart item's clusterId if applicable
CartMainItem.taxCode
● Taxcode!
non-null enum
Tax code for this cart item.
CartMainItem.deliveryDate
● DateTime
scalar
Expected delivery date for this cart item.
CartMainItem.deliveryDeadline
● DateTime
scalar
Deadline for delivery of this cart item.
CartMainItem.discount
● Float!
non-null scalar
Discount applied to this cart item
CartMainItem.discountPercentage
● Float!
non-null scalar
Discount percentage applied to this cart item
CartMainItem.surcharges
● [CartItemSurcharge!]
list object
List of surcharges for this cart item
CartMainItem.incentive
● CartItemIncentive
object
Incentive that applied to this cart item
CartMainItem.requestDate
● DateTime
scalar
Date when the cart item was requested
CartMainItem.childItems
● [CartBaseItem!]
list object
Cart item's child items, used when ordering products that are part of a configuration or bundle
CartMainItem.product
● Product
object
Complete product information for the main cart item.
Returns detailed product data including specifications, pricing, availability, and all attributes for the primary product in this cart item. Used for cart display, pricing calculations, and order processing.
CartMainItem.product.hidden
● Boolean
scalar
Include hidden products in the lookup.
When true, includes products marked as hidden in the search. When false or not specified, only returns visible products.
Interfaces
ICartBaseItem
interface
Member Of
Cart
object