ItemStatistics Object
Description
Aggregated statistics for an item over a given date range.
Declaration
type ItemStatistics {
granularity: StatisticsGranularity!
pageViews: Int!
sold: Int!
series: [StatisticsDataPoint!]!
campaignEvents: [StatisticsCampaignEvent!]!
stockHistory: [StatisticsStockPoint!]!
}
Fields
| Name | Type | Description |
|---|---|---|
granularity | StatisticsGranularity! | Bucket granularity chosen for the series based on the date range. |
pageViews | Int! | Total page views in the period. |
sold | Int! | Total units sold in the period. |
series | [StatisticsDataPoint!]! | Time series of page views and sales. |
campaignEvents | [StatisticsCampaignEvent!]! | Newsletter campaigns that featured this item during the period. |
stockHistory | [StatisticsStockPoint!]! | Raw stock quantity update events extracted from item logs. |