Class: MWS::FulfillmentInventory::Client
- Inherits:
-
Peddler::Client
- Object
- Peddler::Client
- MWS::FulfillmentInventory::Client
- Defined in:
- lib/mws/fulfillment_inventory/client.rb
Overview
The Fulfillment Inventory API can help you stay up-to-date on the availability of your inventory in the Amazon Fulfillment Network. The Fulfillment Inventory API reports real-time availability information for your Amazon Fulfillment Network inventory regardless of whether you are selling your inventory on Amazon’s retail web site or through other retail channels.
Instance Attribute Summary
Attributes inherited from Peddler::Client
#auth_token, #body, #marketplace, #merchant_id
Instance Method Summary collapse
-
#get_service_status ⇒ Peddler::XMLParser
Gets the operational status of the API.
-
#list_inventory_supply(opts = {}) ⇒ Peddler::XMLParser
Returns information about the availability of a seller’s inventory.
-
#list_inventory_supply_by_next_token(next_token) ⇒ Peddler::XMLParser
Returns the next page of information about the availability of a seller’s inventory.
Methods inherited from Peddler::Client
Constructor Details
This class inherits a constructor from Peddler::Client
Instance Method Details
#get_service_status ⇒ Peddler::XMLParser
Gets the operational status of the API
51 52 53 54 |
# File 'lib/mws/fulfillment_inventory/client.rb', line 51 def get_service_status operation('GetServiceStatus') run end |
#list_inventory_supply(opts = {}) ⇒ Peddler::XMLParser
Returns information about the availability of a seller’s inventory
26 27 28 29 30 31 32 |
# File 'lib/mws/fulfillment_inventory/client.rb', line 26 def list_inventory_supply(opts = {}) operation('ListInventorySupply') .add(opts) .structure!('SellerSkus', 'member') run end |
#list_inventory_supply_by_next_token(next_token) ⇒ Peddler::XMLParser
Returns the next page of information about the availability of a seller’s inventory
40 41 42 43 44 45 |
# File 'lib/mws/fulfillment_inventory/client.rb', line 40 def list_inventory_supply_by_next_token(next_token) operation('ListInventorySupplyByNextToken') .add('NextToken' => next_token) run end |