Skip to main content

customerFrequentlyBought

Requires a customer (portal or buyer app) session.

Partner-wide frequently-bought items (attribution), repriced server-side. screen 6.

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 CustomerFrequentlyBought {
customerFrequentlyBought {
uomCode
productName
variantName
currency
imageUrl
lastBoughtAt
}
}

Response:

{
"data": {
"customerFrequentlyBought": [
{
"uomCode": "string",
"productName": "string",
"variantName": "string",
"currency": "string",
"imageUrl": "string",
"lastBoughtAt": "2025-01-15T00:00:00Z"
}
]
}
}
customerFrequentlyBought(
limit: Int
): [CustomerFrequentItem!]!

Arguments​

customerFrequentlyBought.limit ● Int scalar​

Maximum number of records to return.

Type​

CustomerFrequentItem object​

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