Skip to main content

frequentlyOrderedProducts

Requires a customer (portal or buyer app) session.

Products this buyer's company orders repeatedly — 'Shop your regulars'. Derived from their own order history, company-scoped like every other order read. A line bought only once is excluded: 'your regulars' has to mean something.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query FrequentlyOrderedProducts {
frequentlyOrderedProducts {
productName
imageUrl
lastOrderedAt
orderCount
productId
uomId
}
}

Response:

{
"data": {
"frequentlyOrderedProducts": [
{
"productName": "string",
"imageUrl": "string",
"lastOrderedAt": "2025-01-15T00:00:00Z",
"orderCount": 0,
"productId": "id",
"uomId": "id"
}
]
}
}
frequentlyOrderedProducts(
limit: Int
): [MobileFrequentProduct!]!

Arguments​

frequentlyOrderedProducts.limit ● Int scalar​

Maximum number of records to return.

Type​

MobileFrequentProduct object​

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.