Skip to main content

CartItemType

One item in the cart.

type CartItemType {
acceptAlternativeIfUnavailable: Boolean!
baseUnitPrice: Float!
createdAt: DateTime!
id: ID!
lineTotal: Float!
notes: String
product: CartItemProduct!
quantity: Float!
unitPrice: Float!
uom: CartItemUom!
variant: CartItemVariant!
}

Fields​

CartItemType.acceptAlternativeIfUnavailable ● Boolean! non-null scalar​

Buyer consent: if this item becomes unavailable, may fulfillment ship a manually-picked substitute instead? Consent + visibility only — carries forward automatically, never re-prompted.

CartItemType.baseUnitPrice ● Float! non-null scalar​

Pre-discount per-unit price from the same LinePricingService resolution (display-only, e.g. a strikethrough list price next to unitPrice). Equal to unitPrice when nothing discounts this line.

CartItemType.createdAt ● DateTime! non-null scalar​

When the record was created.

CartItemType.id ● ID! non-null scalar​

The unique ID of this record.

CartItemType.lineTotal ● Float! non-null scalar​

The line total.

CartItemType.notes ● String scalar​

A note on the line.

CartItemType.product ● CartItemProduct! non-null object​

The product.

CartItemType.quantity ● Float! non-null scalar​

The quantity.

CartItemType.unitPrice ● Float! non-null scalar​

The price of one unit.

CartItemType.uom ● CartItemUom! non-null object​

The unit of measure.

CartItemType.variant ● CartItemVariant! non-null object​

The variant.

Member Of​

CartType object