Skip to content

Inventory Endpoints ​

Get Inventory List ​

Retrieve current inventory data with stock levels, velocity metrics, and restock information.

GET /inventory/list

Query Parameters:

ParameterTypeRequiredDescription
per_pageintegerYesResults per page. Allowed: 20, 50, 100, 250, 500, 1000, 2000
velocity_start_datestringNoStart date for velocity calculation (Y-m-d)
velocity_end_datestringNoEnd date for velocity calculation (Y-m-d)
pageintegerNoPage number for pagination

Plus an account selection parameter.

Example Request:

bash
curl -X GET "https://app.sellerlegend.com/api/inventory/list?account_title=My Store US&per_page=100&velocity_start_date=2025-01-01&velocity_end_date=2025-01-31" \
  -H "Authorization: Bearer {ACCESS_TOKEN}"

Response:

json
{
  "current_page": 1,
  "total": 47,
  "per_page": 100,
  "last_page": 1,
  "data": [
    {
      "sku": "MY-SKU-001",
      "product_name": "My Product Name",
      "asin": "B0XXXXXXXXX",
      "fnsku": "X0XXXXXXXXX",
      "afn_fulfillable_quantity": 150,
      "afn_inbound_working_quantity": 0,
      "afn_inbound_shipped_quantity": 50,
      "afn_reserved_quantity": 10,
      "afn_unsellable_quantity": 2,
      "velocity": 5.2,
      "days_of_stock": 29,
      "restock_suggestion": 100
    }
  ]
}

Response Fields:

FieldTypeDescription
skustringSeller SKU
product_namestringProduct title
asinstringAmazon ASIN
fnskustringFulfillment Network SKU
afn_fulfillable_quantityintegerUnits available for sale in FBA
afn_inbound_working_quantityintegerUnits in inbound shipments being prepared
afn_inbound_shipped_quantityintegerUnits in inbound shipments in transit
afn_reserved_quantityintegerUnits reserved (customer orders, transfers)
afn_unsellable_quantityintegerUnits marked as unsellable
velocitynumberSales velocity (units/day) for the specified date range
days_of_stockintegerEstimated days of stock remaining based on velocity
restock_suggestionintegerSuggested restock quantity

Python SDK:

python
from sellerlegend_api import SellerLegendClient

client = SellerLegendClient(access_token="YOUR_ACCESS_TOKEN")

inventory = client.inventory.list(
    account_title="My Store US",
    per_page=500,
    velocity_start_date="2024-01-01",
    velocity_end_date="2024-01-31"
)

for item in inventory['data']:
    print(f"SKU: {item['sku']}")
    print(f"Fulfillable: {item['afn_fulfillable_quantity']}")
    print(f"Days of Stock: {item['days_of_stock']}")

TIP

Use velocity_start_date and velocity_end_date to control the date range used for calculating sales velocity and days-of-stock estimates. A longer range gives a more stable average, while a shorter range reflects recent trends.