Selling Partner API SDK for JavaScript

    The request body for the getSellingPartnerMetrics operation.

    GetSellingPartnerMetricsRequest

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

    Properties

    aggregationFrequency?: AggregationFrequency

    GetSellingPartnerMetricsRequest

    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.

    GetSellingPartnerMetricsRequest

    metrics?: Set<Metric>

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

    GetSellingPartnerMetricsRequest

    programTypes: Set<"SUBSCRIBE_AND_SAVE">

    A list of replenishment program types.

    GetSellingPartnerMetricsRequest

    timeInterval: TimeInterval

    GetSellingPartnerMetricsRequest

    timePeriodType: TimePeriodType

    GetSellingPartnerMetricsRequest

    MMNEPVFCICPMFPCPTTAAATR