List Stock Age for Your Catalog

Endpoint: GET /api/v1/inventory/stock-age

Full URL: https://api.spreetaileu.com/api/api/v1/inventory/stock-age?page=1&page_size=50

Returns the stock age (storage duration) for your whole catalog, one page at a time. Served entirely from the pre-computed nightly snapshot (refreshed 02:00 UTC), so it responds fast at any page size.

Pagination is deterministic: the catalog is sorted by SKU and sliced. Walk pages 1..total_pages to export the full catalog. Use in_stock_only=true to page over only SKUs currently holding stock.

Each entry in skus has the same shape as the single-SKU endpoint's response, plus a stock_age_available flag: false means the snapshot does not cover that SKU yet (for example one added since the last nightly run). For an authoritative answer on such a SKU, call GET /api/v1/inventory/stock-age/{sku}, which can reconstruct live. as_of_date snapshots are also only available on the single-SKU endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
≥ 1
Defaults to 1

Page number (1-based)

integer
1 to 100
Defaults to 50

Entries per page (values above 100 are clamped to 100)

boolean
Defaults to false

When true, only SKUs with stock on hand are listed (and paginated)

string

Optional warehouse location id (supplied by your Account Manager) — lots and quantities are scoped to this location

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json