Selling Partner API SDK for JavaScript
    Preparing search index...
    • ReplenishmentApi - functional programming interface

      Parameters

      • Optionalconfiguration: Configuration

      Returns {
          getSellingPartnerMetrics(
              body?: GetSellingPartnerMetricsRequest,
              options?: RawAxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<GetSellingPartnerMetricsResponse>,
          >;
          listOfferMetrics(
              body?: ListOfferMetricsRequest,
              options?: RawAxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ListOfferMetricsResponse>,
          >;
          listOffers(
              body?: ListOffersRequest,
              options?: RawAxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ListOffersResponse>,
          >;
      }

      • getSellingPartnerMetrics: function
        • Returns aggregated replenishment program metrics for a selling partner. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

          Parameters

          • Optionalbody: GetSellingPartnerMetricsRequest

            The request body for the `getSellingPartnerMetrics` operation.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<GetSellingPartnerMetricsResponse>,
          >

      • listOfferMetrics: function
        • Returns aggregated replenishment program metrics for a selling partner's offers. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

          Parameters

          • Optionalbody: ListOfferMetricsRequest

            The request body for the `listOfferMetrics` operation.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ListOfferMetricsResponse>,
          >

      • listOffers: function
        • Returns the details of a selling partner's replenishment program offers. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

          Parameters

          • Optionalbody: ListOffersRequest

            The request body for the `listOffers` operation.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ListOffersResponse>,
          >