Skip to main content

CustomerFrequentItem

A partner-wide frequently-bought item (Quick order, screen 6).

type CustomerFrequentItem {
currency: String!
imageUrl: String
lastBoughtAt: DateTime!
maxOrderQuantity: Float
minOrderQuantity: Float!
orderMultiple: Float!
productId: ID!
productName: String!
sku: String
timesOrdered: Int!
unitPrice: Float!
uomCode: String
uomId: ID!
variantId: ID!
variantName: String
}

Fields​

CustomerFrequentItem.currency ● String! non-null scalar​

ISO 4217 currency code.

CustomerFrequentItem.imageUrl ● String scalar​

The URL of the product image.

CustomerFrequentItem.lastBoughtAt ● DateTime! non-null scalar​

When the customer last bought it.

CustomerFrequentItem.maxOrderQuantity ● Float scalar​

The largest quantity for one line in this unit. Empty means no cap.

CustomerFrequentItem.minOrderQuantity ● Float! non-null scalar​

The smallest quantity for one line in this unit. The stricter of the variant's minimum and the pack's own wins, as when an order is created.

CustomerFrequentItem.orderMultiple ● Float! non-null scalar​

Quantities step by this, counted from 0. 1 or less means no whole-number step.

CustomerFrequentItem.productId ● ID! non-null scalar​

The ID of the product.

CustomerFrequentItem.productName ● String! non-null scalar​

The name of the product.

CustomerFrequentItem.sku ● String scalar​

The SKU of the variant.

CustomerFrequentItem.timesOrdered ● Int! non-null scalar​

How many times the customer ordered it.

CustomerFrequentItem.unitPrice ● Float! non-null scalar​

Current effective price, resolved server-side.

CustomerFrequentItem.uomCode ● String scalar​

The unit of measure.

CustomerFrequentItem.uomId ● ID! non-null scalar​

The ID of the unit of measure.

CustomerFrequentItem.variantId ● ID! non-null scalar​

The ID of the product variant.

CustomerFrequentItem.variantName ● String scalar​

The name of the variant.

Returned By​

customerFrequentlyBought query