Contains order metrics.

OrderMetricsInterval

interface OrderMetricsInterval {
    averageUnitPrice: Money;
    interval: string;
    orderCount: number;
    orderItemCount: number;
    totalSales: Money;
    unitCount: number;
}

Properties

averageUnitPrice: Money

OrderMetricsInterval

interval: string

The interval of time based on requested granularity (ex. Hour, Day, etc.) If this is the first or the last interval from the list, it might contain incomplete data if the requested interval doesn't align with the requested granularity (ex. request interval 2018-09-01T02:00:00Z--2018-09-04T19:00:00Z and granularity day will result in Sept 1st UTC day and Sept 4th UTC days having partial data).

OrderMetricsInterval

orderCount: number

The number of orders based on the specified filters.

OrderMetricsInterval

orderItemCount: number

The number of order items based on the specified filters.

OrderMetricsInterval

totalSales: Money

OrderMetricsInterval

unitCount: number

The number of units in orders based on the specified filters.

OrderMetricsInterval