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!]!
lastSoldAt: Date
countrySales: [StatisticsCountryPoint!]!
}

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.
lastSoldAtDateDate of the most recent sale for this item (null if never sold).
countrySales[StatisticsCountryPoint!]!Top countries by order count for this item.