Sha256: 3b581720f52b30ed7e9d672080bbb07b7d4651a31462bf0f677f35b79324a9d1
Contents?: true
Size: 2 KB
Versions: 3
Compression:
Stored size: 2 KB
Contents
# frozen_string_literal: true require "peddler/api" module Peddler class << self def fba_inbound_eligibility_v1(...) APIs::FBAInboundEligibilityV1.new(...) end end module APIs # Selling Partner API for FBA Inbound Eligibilty # # With the FBA Inbound Eligibility API, you can build applications that let sellers get eligibility previews for # items before shipping them to Amazon's fulfillment centers. With this API you can find out if an item is eligible # for inbound shipment to Amazon's fulfillment centers in a specific marketplace. You can also find out if an item # is eligible for using the manufacturer barcode for FBA inventory tracking. Sellers can use this information to # inform their decisions about which items to ship Amazon's fulfillment centers. class FBAInboundEligibilityV1 < API # This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility # preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which # you want to determine the item's eligibility. # # @note This operation can make a static sandbox call. # @param marketplace_ids [Array<String>] The identifier for the marketplace in which you want to determine # eligibility. Required only when program=INBOUND. # @param asin [String] The ASIN of the item for which you want an eligibility preview. # @param program [String] The program that you want to check eligibility against. # @param rate_limit [Float] Requests per second # @return [Peddler::Response] The API response def get_item_eligibility_preview(asin, program, marketplace_ids: nil, rate_limit: 1.0) path = "/fba/inbound/v1/eligibility/itemPreview" params = { "marketplaceIds" => marketplace_ids, "asin" => asin, "program" => program, }.compact meter(rate_limit).get(path, params:) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
peddler-4.1.1 | lib/peddler/apis/fba_inbound_eligibility_v1.rb |
peddler-4.0.1 | lib/peddler/apis/fba_inbound_eligibility_v1.rb |
peddler-4.0.0 | lib/peddler/apis/fba_inbound_eligibility_v1.rb |