Skip to main content

Get Expiry & Shelf-Life Report

GET 

/api/inventory-expiry

Paginated Inventory Expiry & Shelf-Life report. Blends internal lot-tracked FIFO layers with Amazon FBA/AWD layers, bucketed by days-to-expiry. Defaults to the lot_detail view (one row per lot/FIFO layer, each carrying a real fifo_layer_id for disposition actions); pass view=product_summary for one row per product rolled up to the worst-case (soonest) expiry.

Available on both GET and POST (the POST variant mirrors all filters and additionally accepts the filter_groups product advanced-filter tree in the body).

Authentication: Requires Bearer token. Scope: reports:read.

Buckets: expired, 0-30, 31-60, 61-90, 91-180, 180+, no_expiry. Sort: fixed — soonest-to-expire first, undated lots last. Pagination: page (default 1), per_page (default 50, max 500).

Required scope: reports:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

This endpoint accepts the canonical list view param contract used by the application UI: filters as filter[<key>], a sort param (see below), page/per_page, and a base64-encoded filter_groups tree — in addition to the flat params shown.

Request

Responses

OK

Response Headers
    Content-Type