Skip to main content

PurchaseAnalytics

Purchasing figures for the period.

type PurchaseAnalytics {
averageOrderValue: Float!
ordersByStatus: [OrderStatus!]!
ordersGrowth: Float!
purchasesByCategory: [CategoryPurchase!]!
purchasesByPeriod: [PeriodData!]!
purchasesGrowth: Float!
topProducts: [TopPurchaseProduct!]!
topSuppliers: [TopSupplier!]!
totalOrders: Int!
totalPurchases: Float!
}

Fields​

PurchaseAnalytics.averageOrderValue ● Float! non-null scalar​

The average purchase order value.

PurchaseAnalytics.ordersByStatus ● [OrderStatus!]! non-null object​

Purchase orders split by status.

PurchaseAnalytics.ordersGrowth ● Float! non-null scalar​

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

PurchaseAnalytics.purchasesByCategory ● [CategoryPurchase!]! non-null object​

Purchases split by category.

PurchaseAnalytics.purchasesByPeriod ● [PeriodData!]! non-null object​

Purchases over time.

PurchaseAnalytics.purchasesGrowth ● Float! non-null scalar​

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

PurchaseAnalytics.topProducts ● [TopPurchaseProduct!]! non-null object​

The products bought the most.

PurchaseAnalytics.topSuppliers ● [TopSupplier!]! non-null object​

The suppliers bought from the most.

PurchaseAnalytics.totalOrders ● Int! non-null scalar​

How many purchase orders there were.

PurchaseAnalytics.totalPurchases ● Float! non-null scalar​

The value purchased.

Returned By​

purchaseAnalytics query