Sha256: 6742e06311e3c364344ea647c1efb7912d7e0f5a36c787d4bde81f79d70cf6c9
Contents?: true
Size: 607 Bytes
Versions: 16
Compression:
Stored size: 607 Bytes
Contents
# frozen_string_literal: true module MuffinMan module ProductPricing class V0 < SpApiClient GET_COMPETITIVE_PRICE_PARAMS = %w[Asins Skus CustomerType].freeze def get_competitive_pricing(marketplace_id, item_type='Asin', params = {}) @params = params @local_var_path = "/products/pricing/v0/competitivePrice" @query_params = { "MarketplaceId" => marketplace_id, "ItemType" => item_type } @query_params.merge!(@params.slice(*GET_COMPETITIVE_PRICE_PARAMS)) @request_type = "GET" call_api end end end end
Version data entries
16 entries across 16 versions & 1 rubygems