API reference
RestaurantStatistics
The RestaurantStatistics object.
Kind: Objects
Fields
id
ID!
medianOrderDiscountAmount
medianOrderGrossAmount
medianOrderTipAmount
medianOrderVatAmount
refundCount
refundsByPaymentName
[RestaurantStatisticsRefundsByPaymentName!]
refundsByProduct
[RestaurantStatisticsRefundsByProduct!]
salesByMenuType
[RestaurantStatisticsSalesByMenuType!]
salesByMenuTypeAndTimePeriod
[RestaurantStatisticsSalesByMenuTypeAndTimePeriod!]
salesByPaymentName
[RestaurantStatisticsSalesByPaymentName!]
salesByProduct
[RestaurantStatisticsSalesByProduct!]
salesByReportGroup
[RestaurantStatisticsSalesByReportGroup!]
salesByTransactionChannel
[RestaurantStatisticsSalesByTransactionChannel!]
salesByVatRate
[RestaurantStatisticsSalesByVatRate!]
salesCount
totalDiscountAmount
totalGrossAmount
totalTipAmount
totalVatAmount
How to get it
This type is returned by:
Restaurant.statistics(field onRestaurant)