Sha256: 9195bac2524bff6a7b1b0fdd0afa7baa072f169262b3b3b79f339ff2bba20b03
Contents?: true
Size: 1.98 KB
Versions: 1
Compression:
Stored size: 1.98 KB
Contents
# frozen_string_literal: true require "peddler/api" module Peddler class << self def fba_inbound_eligibility_v1(...) API::FBAInboundEligibilityV1.new(...) end end class API # 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 [Hash] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
peddler-3.0.0 | lib/peddler/api/fba_inbound_eligibility_v1.rb |