Skip to main content

SalesAnalytics

Sales figures for the period.

type SalesAnalytics {
averageOrderValue: Float!
ordersGrowth: Float!
salesByPeriod: [PeriodData!]!
salesByRegion: [RegionData!]!
salesGrowth: Float!
topCustomers: [TopCustomer!]!
topProducts: [TopProduct!]!
totalOrders: Int!
totalSales: Float!
}

Fields​

SalesAnalytics.averageOrderValue ● Float! non-null scalar​

The average order value.

SalesAnalytics.ordersGrowth ● Float! non-null scalar​

The growth in orders against the previous period, in percent.

SalesAnalytics.salesByPeriod ● [PeriodData!]! non-null object​

Sales over time.

SalesAnalytics.salesByRegion ● [RegionData!]! non-null object​

Sales split by region.

SalesAnalytics.salesGrowth ● Float! non-null scalar​

The growth in sales against the previous period, in percent.

SalesAnalytics.topCustomers ● [TopCustomer!]! non-null object​

The customers who bought the most.

SalesAnalytics.topProducts ● [TopProduct!]! non-null object​

The products that sold the most.

SalesAnalytics.totalOrders ● Int! non-null scalar​

How many orders there were.

SalesAnalytics.totalSales ● Float! non-null scalar​

The total sales value.

Returned By​

salesAnalytics query