List sales forecasts
Intelligence
List sales forecasts
Returns a paginated list of sales forecasts from gold.sales_forecasts. Filter by variantId, sizeTaxonomyId, shopId, granularity, and date range.
GET
List sales forecasts
Authorizations
User session token issued by NextAuth. For human users accessing Solya via the web application.
Query Parameters
Page number, 1-indexed (default: 1)
Required range:
1 <= x <= 9007199254740991Number of items per page, max 100 (default: 20)
Required range:
1 <= x <= 100Filter by variant ID
Filter by size taxonomy ID
Filter by shop ID
Forecast time granularity: DAY, WEEK, MONTH, or QUARTER
Available options:
DAY, WEEK, MONTH, QUARTER Inclusive lower bound on forecast date, ISO-8601 format (e.g. 2025-09-01)
Pattern:
^\d{4}-\d{2}-\d{2}$Inclusive upper bound on forecast date, ISO-8601 format (e.g. 2025-12-31)
Pattern:
^\d{4}-\d{2}-\d{2}$
