Skip to main content
All examples assume the setup from API recipes (base URL, bearer token).

List brands (page-based pagination)

GET /api/brands takes page, pageSize, and an optional q search; it returns the { data, total, page, pageSize } envelope.
Example response:

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.
Each row includes 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.