CartBaseItem
Base cart item entity for GraphQL federation.
Represents a fundamental cart item with essential identification fields for federation across cart and product services. Used as a base type for various cart item implementations.
type CartBaseItem implements ICartBaseItem {
itemId: String!
parentItemUUID: String
notes: String
price: Float!
priceNet: Float!
priceMode: PriceMode
totalPrice: Float!
totalPriceNet: Float!
sum: Float!
sumNet: Float!
totalSum: Float!
totalSumNet: Float!
quantity: Int!
bundleId: String
clusterId: Int
productId: Int
taxCode: Taxcode!
deliveryDate: DateTime
deliveryDeadline: DateTime
discount: Float!
discountPercentage: Float!
surcharges: [CartItemSurcharge!]
incentive: CartItemIncentive
requestDate: DateTime
product(
hidden: Boolean
): Product!
}
Fields
CartBaseItem.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.
CartBaseItem.parentItemUUID
● String
scalar
Id of the parent cart item.
CartBaseItem.notes
● String
scalar
User notes on cart item level
CartBaseItem.price
● Float!
non-null scalar
Gross price per UOM of this cart item, no item specific discounts are applied to this price.
CartBaseItem.priceNet
● Float!
non-null scalar
Net price per UOM of this cart item, no item specific discounts are applied to this price.
CartBaseItem.priceMode
● PriceMode
enum
Price mode for this cart item, if not set the platform default will be used.
CartBaseItem.totalPrice
● Float!
non-null scalar
Total gross price for this cart item, including item specific discounts.
CartBaseItem.totalPriceNet
● Float!
non-null scalar
Total net price for this cart item, including item specific discounts.
CartBaseItem.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.
CartBaseItem.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.
CartBaseItem.totalSum
● Float!
non-null scalar
Total gross sum of the main cart price and the prices of its child items. Including item specific discounts.
CartBaseItem.totalSumNet
● Float!
non-null scalar
Total net sum of the main cart price and the prices of its child items. Including item specific discounts.
CartBaseItem.quantity
● Int!
non-null scalar
Quantity for this cart item
CartBaseItem.bundleId
● String
scalar
Cart item's bundleId if applicable
CartBaseItem.clusterId
● Int
scalar
Cart item's clusterId if applicable
CartBaseItem.productId
● Int
scalar
Cart item's productId if applicable
CartBaseItem.taxCode
● Taxcode!
non-null enum
Tax code for this cart item.
CartBaseItem.deliveryDate
● DateTime
scalar
Expected delivery date for this cart item.
CartBaseItem.deliveryDeadline
● DateTime
scalar
Deadline for delivery of this cart item.
CartBaseItem.discount
● Float!
non-null scalar
Discount applied to this cart item
CartBaseItem.discountPercentage
● Float!
non-null scalar
Discount percentage applied to this cart item
CartBaseItem.surcharges
● [CartItemSurcharge!]
list object
List of surcharges for this cart item
CartBaseItem.incentive
● CartItemIncentive
object
Incentive that applied to this cart item
CartBaseItem.requestDate
● DateTime
scalar
Date when the cart item was requested
CartBaseItem.product
● Product!
non-null object
Complete product information for the cart item.
Returns detailed product data including specifications, pricing, availability, and all attributes for the product in this cart item. Used for cart display, pricing calculations, and order processing.
CartBaseItem.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 ● CartIncentive
object ● CartMainItem
object