Get Inventory Aging Report
GET/api/inventory-aging
Get the paginated inventory aging report. Supports two view modes:
- product_summary: Aggregated by product, showing total quantity and average age
- fifo_detail (default): Individual FIFO layers per product with detailed age and cost information
Authentication: Requires Bearer token.
Filters: warehouse_id, search, age_bracket (0-30, 31-60, 61-90, 91-180, 181-365, 365+), min_quantity, brand_id, supplier_id, view (product_summary|fifo_detail), has_listings (yes|no), has_sales (yes|no), sales_period (7d|14d|30d|90d), sales_channel_ids, excluded_sales_channel_ids, listing_filter, min_margin, max_margin
Request
Responses
- 200
Successful response