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

    The request body for the getSellingPartnerMetrics operation.

    interface GetSellingPartnerMetricsRequest {
        aggregationFrequency?: AggregationFrequency;
        marketplaceId: string;
        metrics?: Set<Metric>;
        programTypes: Set<"SUBSCRIBE_AND_SAVE">;
        timeInterval: TimeInterval;
        timePeriodType: TimePeriodType;
    }
    Index

    Properties

    aggregationFrequency?: AggregationFrequency
    marketplaceId: string

    The marketplace identifier. The supported marketplaces for both sellers and vendors are US, CA, ES, UK, FR, IT, IN, DE and JP. The supported marketplaces for vendors only are BR, AU, MX, AE and NL. Refer to Marketplace IDs to find the identifier for the marketplace.

    metrics?: Set<Metric>

    The list of metrics requested. If no metric value is provided, data for all of the metrics will be returned.

    programTypes: Set<"SUBSCRIBE_AND_SAVE">

    A list of replenishment program types.

    timeInterval: TimeInterval
    timePeriodType: TimePeriodType