List variants
Variants
List variants
Returns a paginated list of product variants with optional filters by brand, supplier, product, and collection. Includes per-unit pricing data (average selling price, average per-unit cost of goods sold, gross margin percentage) when available.
GET
List variants
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 <= 100Case-insensitive substring search query
Filter by brand UUID
Filter by supplier UUID
Filter by product UUID
Filter by collection UUID

