Skip to main content

SalesStatisticsResult

Result of a sales statistics query.

type SalesStatisticsResult {
rows: [SalesStatisticsRow!]!
currency: Currency!
truncated: Boolean!
}

Fields

rows ● [SalesStatisticsRow!]!

One row per unique combination of the requested dimension values

currency ● Currency!

The currency all monetary metrics are expressed in (store's base/standard currency)

truncated ● Boolean!

True if the result was truncated by the row limit. Narrow dateRange/filter and retry.

Example

{
"rows": [
{
"day": "2026-07-22",
"week": "2026-30",
"month": "2026-07",
"year": 2026,
"countryName": "Sweden",
"countryCode": "SE",
"productId": "AVR 135",
"productName": "Laura Regular Fit Shirt Double Cuff White"
}
],
"currency": {
"code": "USD",
"rate": 11.355,
"prefix": "$"
}
}