Skip to main content

MobileFrequentProduct

A product this buyer orders repeatedly, derived from their own order history. Not a recommendation and not a promotion — it is the buyer's own past behaviour, which is why it carries the counts that justify it.

type MobileFrequentProduct {
imageUrl: String
lastOrderedAt: DateTime!
orderCount: Int!
productId: ID!
productName: String!
uomId: ID!
usualQuantity: Float!
variantId: ID!
variantLabel: String
}

Fields​

MobileFrequentProduct.imageUrl ● String scalar​

The URL of the product image.

MobileFrequentProduct.lastOrderedAt ● DateTime! non-null scalar​

When it was last ordered.

MobileFrequentProduct.orderCount ● Int! non-null scalar​

Distinct orders containing this line.

MobileFrequentProduct.productId ● ID! non-null scalar​

The ID of the product.

MobileFrequentProduct.productName ● String! non-null scalar​

The name of the product.

MobileFrequentProduct.uomId ● ID! non-null scalar​

The pack it is usually ordered in.

MobileFrequentProduct.usualQuantity ● Float! non-null scalar​

The quantity this buyer typically orders — the MEDIAN, not the mean, so one bulk order does not distort the prefill.

MobileFrequentProduct.variantId ● ID! non-null scalar​

The ID of the product variant.

MobileFrequentProduct.variantLabel ● String scalar​

The label of the variant.

Returned By​

frequentlyOrderedProducts query