List brands (page-based pagination)
GET /api/brands takes page, pageSize, and an optional q search; it returns the
{ data, total, page, pageSize } envelope.
- cURL
- Python
- JavaScript
Paginate through everything
Some endpoints (mostly under
/api/data-platform/) use offset-based pagination
(limit / offset) and return { items, limit, offset }. Check the endpoint in the
API Reference tab. See Making requests.Read inventory stock-out risks
GET /api/inventory/risks returns variants ranked by urgency, filterable by status,
brandIds, shopIds, and period.
- cURL
- Python
- JavaScript
variantId, variantName, brandName, closingStock,
avgDailySales, daysOfSupply, and status (critical / warning / healthy). See the
stock-out risk guide. To act on a critical row, turn
it into a plan — next recipe.
