# Overview
The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
# Version information
Version : v1
# Operations
# Paths
# getInventorySummaries
GET /fba/inventory/v1/summaries
# Description
Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime and sellerSkus parameters:
- All inventory summaries with available details are returned when the startDateTime and sellerSkus parameters are omitted.
- When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus parameter is ignored.
- When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
2 | 2 |
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
# Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | details optional | true to return inventory summaries with additional summarized inventory details and quantities. Otherwise, returns inventory summaries only (default value). | boolean | "false" |
Query | granularityType required | The granularity type for the inventory aggregation level. | enum (GranularityType) | - |
Query | granularityId required | The granularity ID for the inventory aggregation level. | string | - |
Query | startDateTime optional | A start date and time in ISO8601 format. If specified, all inventory summaries that have changed since then are returned. You must specify a date and time that is no earlier than 18 months prior to the date and time when you call the API. Note: Changes in inboundWorkingQuantity, inboundShippedQuantity and inboundReceivingQuantity are not detected. | string (date-time) | - |
Query | sellerSkus optional | A list of seller SKUs for which to return inventory summaries. You may specify up to 50 SKUs. Max count : 50 | < string > array | - |
Query | nextToken optional | String token returned in the response of your previous request. | string | - |
Query | marketplaceIds required | The marketplace ID for the marketplace for which to return inventory summaries. Max count : 1 | < string > array | - |
# Responses
HTTP Code | Description | Schema |
---|---|---|
200 | OK Headers : x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation. x-amzn-RequestId (string) : Unique request reference ID. | GetInventorySummariesResponse |
For error status codes, descriptions and schemas, see Error responses and schemas.
# Produces
application/json
# Error Responses and Schemas
This table contains HTTP status codes and associated information for error responses.
HTTP Code | Description | Schema |
---|---|---|
400 | Request has missing or invalid parameters and cannot be parsed. Headers: x-amzn-RateLimit-Limit (string):Your rate limit (requests per second) for this operation. x-amzn-RequestId (string):Unique request reference ID. | GetInventorySummariesResponse |
403 | Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found. Headers: x-amzn-RequestId (string):Unique request reference ID. | GetInventorySummariesResponse |
404 | The specified resource does not exist. Headers: x-amzn-RateLimit-Limit (string):Your rate limit (requests per second) for this operation. x-amzn-RequestId (string):Unique request reference ID. | GetInventorySummariesResponse |
429 | The frequency of requests was greater than allowed. Headers: x-amzn-RateLimit-Limit (string):Your rate limit (requests per second) for this operation.Note: For this status code, the rate limit header is deprecated and no longer returned. x-amzn-RequestId (string):Unique request reference ID. | GetInventorySummariesResponse |
500 | An unexpected condition occurred that prevented the server from fulfilling the request. Headers: x-amzn-RateLimit-Limit (string):Your rate limit (requests per second) for this operation.Note: For this status code, the rate limit header is deprecated and no longer returned. x-amzn-RequestId (string):Unique request reference ID. | GetInventorySummariesResponse |
503 | Temporary overloading or maintenance of the server. Headers: x-amzn-RateLimit-Limit (string):Your rate limit (requests per second) for this operation.Note: For this status code, the rate limit header is deprecated and no longer returned. x-amzn-RequestId (string):Unique request reference ID. | GetInventorySummariesResponse |
# Definitions
# Granularity
Describes a granularity at which inventory data can be aggregated. For example, if you use Marketplace granularity, the fulfillable quantity will reflect inventory that could be fulfilled in the given marketplace.
Name | Description | Schema |
---|---|---|
granularityType optional | The granularity type for the inventory aggregation level. | string |
granularityId optional | The granularity ID for the specified granularity type. When granularityType is Marketplace, specify the marketplaceId. | string |
# ReservedQuantity
The quantity of reserved inventory.
Name | Description | Schema |
---|---|---|
totalReservedQuantity optional | The total number of units in Amazon's fulfillment network that are currently being picked, packed, and shipped; or are sidelined for measurement, sampling, or other internal processes. | integer |
pendingCustomerOrderQuantity optional | The number of units reserved for customer orders. | integer |
pendingTransshipmentQuantity optional | The number of units being transferred from one fulfillment center to another. | integer |
fcProcessingQuantity optional | The number of units that have been sidelined at the fulfillment center for additional processing. | integer |
# ResearchingQuantityEntry
The misplaced or warehouse damaged inventory that is actively being confirmed at our fulfillment centers.
Name | Description | Schema |
---|---|---|
name required | The duration of the research. | enum (Name) |
quantity required | The number of units. | integer |
# ResearchingQuantity
The number of misplaced or warehouse damaged units that are actively being confirmed at our fulfillment centers.
Name | Description | Schema |
---|---|---|
totalResearchingQuantity optional | The total number of units currently being researched in Amazon's fulfillment network. | integer |
researchingQuantityBreakdown optional | A list of quantity details for items currently being researched. | < ResearchingQuantityEntry > array |
# UnfulfillableQuantity
The quantity of unfulfillable inventory.
Name | Description | Schema |
---|---|---|
totalUnfulfillableQuantity optional | The total number of units in Amazon's fulfillment network in unsellable condition. | integer |
customerDamagedQuantity optional | The number of units in customer damaged disposition. | integer |
warehouseDamagedQuantity optional | The number of units in warehouse damaged disposition. | integer |
distributorDamagedQuantity optional | The number of units in distributor damaged disposition. | integer |
carrierDamagedQuantity optional | The number of units in carrier damaged disposition. | integer |
defectiveQuantity optional | The number of units in defective disposition. | integer |
expiredQuantity optional | The number of units in expired disposition. | integer |
# InventoryDetails
Summarized inventory details. This object will not appear if the details parameter in the request is false.
Name | Description | Schema |
---|---|---|
fulfillableQuantity optional | The item quantity that can be picked, packed, and shipped. | integer |
inboundWorkingQuantity optional | The number of units in an inbound shipment for which you have notified Amazon. | integer |
inboundShippedQuantity optional | The number of units in an inbound shipment that you have notified Amazon about and have provided a tracking number. | integer |
inboundReceivingQuantity optional | The number of units that have not yet been received at an Amazon fulfillment center for processing, but are part of an inbound shipment with some units that have already been received and processed. | integer |
reservedQuantity optional | The quantity of reserved inventory. | ReservedQuantity |
researchingQuantity optional | The number of misplaced or warehouse damaged units that are actively being confirmed at our fulfillment centers. | ResearchingQuantity |
unfulfillableQuantity optional | The quantity of unfulfillable inventory. | UnfulfillableQuantity |
# InventorySummary
Inventory summary for a specific item.
Name | Description | Schema |
---|---|---|
asin optional | The Amazon Standard Identification Number (ASIN) of an item. | string |
fnSku optional | Amazon's fulfillment network SKU identifier. | string |
sellerSku optional | The seller SKU of the item. | string |
condition optional | The condition of the item as described by the seller (for example, New Item). | string |
inventoryDetails optional | Summarized inventory details. This object will not appear if the details parameter in the request is false. | InventoryDetails |
lastUpdatedTime optional | The date and time that any quantity was last updated. | string (date-time) |
productName optional | The localized language product title of the item within the specific marketplace. | string |
totalQuantity optional | The total number of units in an inbound shipment or in Amazon fulfillment centers. | integer |
# InventorySummaries
A list of inventory summaries.
Type : < InventorySummary > array
# Pagination
The process of returning the results to a request in batches of a defined size called pages. This is done to exercise some control over result size and overall throughput. It's a form of traffic management.
Name | Description | Schema |
---|---|---|
nextToken optional | A generated string used to retrieve the next page of the result. If nextToken is returned, pass the value of nextToken to the next request. If nextToken is not returned, there are no more items to return. | string |
# GetInventorySummariesResult
The payload schema for the getInventorySummaries operation.
Name | Description | Schema |
---|---|---|
granularity required | Describes a granularity at which inventory data can be aggregated. For example, if you use Marketplace granularity, the fulfillable quantity will reflect inventory that could be fulfilled in the given marketplace. | Granularity |
inventorySummaries required | A list of inventory summaries. | InventorySummaries |
# GetInventorySummariesResponse
The Response schema.
Name | Description | Schema |
---|---|---|
payload optional | The payload for the getInventorySummaries operation. | GetInventorySummariesResult |
pagination optional | The process of returning the results to a request in batches of a defined size called pages. This is done to exercise some control over result size and overall throughput. It's a form of traffic management. | Pagination |
errors optional | One or more unexpected errors occurred during the getInventorySummaries operation. | ErrorList |
# Error
An error response returned when the request is unsuccessful.
Name | Description | Schema |
---|---|---|
code required | An error code that identifies the type of error that occurred. | string |
message optional | A message that describes the error condition in a human-readable form. | string |
details optional | Additional information that can help the caller understand or fix the issue. | string |
# ErrorList
A list of error responses returned when a request is unsuccessful.
Type : < Error > array
# GranularityType
The granularity type for the inventory aggregation level.
Type : enum
Value | Description |
---|---|
Marketplace | Marketplace |
# Name
The duration of the research.
Type : enum
Value | Description |
---|---|
researchingQuantityInShortTerm | Short Term for 1-10 days. |
researchingQuantityInMidTerm | Mid Term for 11-20 days. |
researchingQuantityInLongTerm | Long Term for 21 days or longer. |