List inventory stock-out risks
Returns a paginated ranking of product variants by stock-out urgency. Variants with the lowest days-of-supply are ranked first. Use this endpoint to identify which variants need restocking, rebalancing, or markdown.
Authorizations
User session token issued by NextAuth. For human users accessing Solya via the web application.
Query Parameters
Page number, 1-indexed (default: 1)
1 <= x <= 9007199254740991Number of items per page, max 100 (default: 20)
1 <= x <= 100Comma-separated shop IDs to filter by
Comma-separated brand IDs to filter by
Filter by risk status tier: critical (< 7 days supply), warning (7–13 days), healthy (≥ 14 days)
critical, warning, healthy Period in days for sales velocity calculation (default: 30). Mapped to nearest pre-aggregated window.
7 <= x <= 365
