Class: Peddler::APIs::ExternalFulfillmentInventory20240911
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::APIs::ExternalFulfillmentInventory20240911
- Defined in:
- lib/peddler/apis/external_fulfillment_inventory_2024_09_11.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/error.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/error_list.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/actionable_error.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/http_status_line.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/inventory_request.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/inventory_response.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/marketplace_attributes.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/batch_inventory_request.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/inventory_response_body.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/batch_inventory_response.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/inventory_request_params.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/batch_inventory_request_list.rb,
lib/peddler/apis/external_fulfillment_inventory_2024_09_11/batch_inventory_response_list.rb,
sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs
Overview
The Selling Partner API for External Fulfillment Inventory Management
You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon's External Fulfillment network, including batch inventory updates and retrievals.
Defined Under Namespace
Classes: ActionableError, BatchInventoryRequest, BatchInventoryRequestList, BatchInventoryResponse, BatchInventoryResponseList, Error, ErrorList, HttpStatusLine, InventoryRequest, InventoryRequestParams, InventoryResponse, InventoryResponseBody, MarketplaceAttributes
Instance Attribute Summary
Attributes inherited from Peddler::API
#access_token, #endpoint, #retries
Instance Method Summary collapse
-
#batch_inventory(body) ⇒ Peddler::Response
Make up to 10 inventory requests.
Methods inherited from Peddler::API
#cannot_sandbox!, #delete, #endpoint_uri, #get, #http, #initialize, #must_sandbox!, #patch, #percent_encode, #post, #put, #request, #sandbox, #sandbox?, #stringify_array, #timestamp, #user_agent
Constructor Details
This class inherits a constructor from Peddler::API
Instance Method Details
#batch_inventory(body) ⇒ Peddler::Response
This operation can make a static sandbox call.
Make up to 10 inventory requests. The response includes the set of responses that correspond to requests. The
response for each successful request in the set includes the inventory count for the provided sku and
locationId pair.
21 22 23 24 |
# File 'lib/peddler/apis/external_fulfillment_inventory_2024_09_11.rb', line 21 def batch_inventory(body) path = "/externalFulfillment/inventory/2024-09-11/inventories" post(path, body:) end |