Retrieve Location-Level Inventory
Learn how to retrieve location-level inventory
Learn how to retrieve location-level inventory.
Prerequisites
To complete this tutorial, you need:
- Authorization from the selling partner for whom you are making calls. For more information, refer to Authorizing Selling Partner API applications.
- Location ID and SKU ID details from the seller.
- Approval for the Direct-to-Consumer Shipping (Restricted) role in your developer profile.
- The Direct-to-Consumer Shipping (Restricted) role selected in the App registration page for your application.
Retrieve location-level inventory
Call the batchInventory
operation. Supply the locationId
(DEFAULT
for the MFN channel, a four-character warehouse code for Seller Flex / FBA Onsite) and skuId
in the uri
value, and use POST
as the method
value. You can submit up to ten requests in a single batch.
Request example
In the following example, note that marketplaceAttributes
is only required if the seller is operating in more that one marketplace.
POST "https://sellingpartnerapi-na.amazon.com/externalFulfillment/inventory/2024-09-11/inventories"
{
"requests": [
{
"method": "POST",
"uri": "/inventory/fetch?locationId=DEFAULT&skuId=efptestsku1",
"body": {
"marketplaceAttributes": {
"marketplaceId": "AXJDDKDFDKDF",
"channelName": "MFN"
}
}
}
]
}
Updated about 3 hours ago