Selling Partner API SDK for JavaScript
    Preparing search index...

    Interface OrderMetricsInterval

    Contains order metrics.

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

    Properties

    averageUnitPrice: Money
    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).

    orderCount: number

    The number of orders based on the specified filters.

    orderItemCount: number

    The number of order items based on the specified filters.

    totalSales: Money
    unitCount: number

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