Class: MWS::FulfillmentInventory::Client

Inherits:
Peddler::Client show all
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

Methods inherited from Peddler::Client

#initialize

Constructor Details

This class inherits a constructor from Peddler::Client

Instance Method Details

#get_service_statusPeddler::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

Parameters:

  • opts (Hash) (defaults to: {})

Options Hash (opts):

  • :seller_skus (Array<String>, String)
  • :query_start_date_time (String, #iso8601)
  • :response_group (String)
  • :marketplace_id (String)

Returns:

  • (Peddler::XMLParser)

See Also:


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

Parameters:

  • next_token (String)

Returns:

  • (Peddler::XMLParser)

See Also:


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