Skip to main content

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

NameTypeDescription
granularityStatisticsGranularity!Bucket granularity chosen for the series based on the date range.
pageViewsInt!Total page views in the period.
soldInt!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.