class Peddler::API::ProductPricing20220501

Selling Partner API for Pricing

The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).

Public Instance Methods

get_competitive_summary(requests, rate_limit: 0.033) click to toggle source

Returns the competitive summary response including featured buying options for the ASIN and ‘marketplaceId` combination.

@note This operation can make a static sandbox call. @param requests [Hash] The batch of ‘getCompetitiveSummary` requests. @param rate_limit [Float] Requests per second @return [Hash] The API response

# File lib/peddler/api/product_pricing_2022_05_01.rb, line 46
def get_competitive_summary(requests, rate_limit: 0.033)
  path = "/batches/products/pricing/2022-05-01/items/competitiveSummary"
  body = requests

  meter(rate_limit).post(path, body:)
end