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, #merchant_id, #path, #primary_marketplace_id, #version
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
#aws_endpoint, #defaults, #error_handler, #headers, #initialize, #marketplace, #marketplace_id, #marketplace_id=, on_error, #on_error, #operation, path, #run, version
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
48 49 50 51 |
# File 'lib/mws/fulfillment_inventory/client.rb', line 48 def get_service_status operation('GetServiceStatus') run end |
#list_inventory_supply(opts = {}) ⇒ Peddler::XMLParser
Returns information about the availability of a seller’s inventory
23 24 25 26 27 28 29 |
# File 'lib/mws/fulfillment_inventory/client.rb', line 23 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
37 38 39 40 41 42 |
# File 'lib/mws/fulfillment_inventory/client.rb', line 37 def list_inventory_supply_by_next_token(next_token) operation('ListInventorySupplyByNextToken') .add('NextToken' => next_token) run end |