Skip to main content

DiscountUsageStats

How a discount scheme has been used.

type DiscountUsageStats {
averageDiscountPerOrder: Float!
totalDiscountAmount: Float!
totalUsage: Int!
uniqueCustomers: Int!
}

Fields​

DiscountUsageStats.averageDiscountPerOrder ● Float! non-null scalar​

The average discount per order.

DiscountUsageStats.totalDiscountAmount ● Float! non-null scalar​

The total discount given.

DiscountUsageStats.totalUsage ● Int! non-null scalar​

How many times it was used.

DiscountUsageStats.uniqueCustomers ● Int! non-null scalar​

How many different customers used it.

Returned By​

discountUsageStats query