Skip to main content

CustomerBuyingListItemView

A buying-list line; prices computed at read time (never stored).

type CustomerBuyingListItemView {
addedByName: String
id: ID!
imageUrl: String
lineTotal: Float!
maxOrderQuantity: Float
minOrderQuantity: Float!
orderMultiple: Float!
originalUnitPrice: Float
productId: ID!
productName: String!
quantity: Float!
sku: String
unitLabel: String
unitPrice: Float!
uomId: ID!
variantId: ID!
variantName: String
}

Fields​

CustomerBuyingListItemView.addedByName ● String scalar​

Display name of the colleague who added this line. The list is shared, so a buyer needs to know whose line they are about to change.

CustomerBuyingListItemView.id ● ID! non-null scalar​

The unique ID of this record.

CustomerBuyingListItemView.imageUrl ● String scalar​

Primary image, variant-first then product — the precedence every buyer surface uses (the console inverts it). Null when neither carries one; the app draws its own placeholder.

CustomerBuyingListItemView.lineTotal ● Float! non-null scalar​

The line total.

CustomerBuyingListItemView.maxOrderQuantity ● Float scalar​

Ceiling for this line's pack, same units. Null = unbounded.

CustomerBuyingListItemView.minOrderQuantity ● Float! non-null scalar​

Smallest orderable quantity for this line's pack. The pack's own minOrderQty wins over the variant's base-unit one; 1 when neither is set.

CustomerBuyingListItemView.orderMultiple ● Float! non-null scalar​

Quantity must be a multiple of this. 1 means any whole step.

CustomerBuyingListItemView.originalUnitPrice ● Float scalar​

Pre-discount unit price, for a strike-through reference — same field name and meaning as MobileOrderItem.originalUnitPrice. Undefined when there is nothing to strike through (no discount applied, or pricing failed and unitPrice fell back to 0).

CustomerBuyingListItemView.productId ● ID! non-null scalar​

The ID of the product.

CustomerBuyingListItemView.productName ● String! non-null scalar​

The name of the product.

CustomerBuyingListItemView.quantity ● Float! non-null scalar​

The quantity on the list.

CustomerBuyingListItemView.sku ● String scalar​

The SKU of the variant.

CustomerBuyingListItemView.unitLabel ● String scalar​

This line's pack, buyer-facing (e.g. "Case", "Each") — the SAME UnitOfMeasure.name/code fallback every order surface uses. Null only when the pack's UOM row itself has neither.

CustomerBuyingListItemView.unitPrice ● Float! non-null scalar​

Computed at read via the display contract.

CustomerBuyingListItemView.uomId ● ID! non-null scalar​

The ID of the unit of measure.

CustomerBuyingListItemView.variantId ● ID! non-null scalar​

The ID of the product variant.

CustomerBuyingListItemView.variantName ● String scalar​

The name of the variant.

Member Of​

CustomerBuyingListView object