Collections are saved product filter configurations that allow users to quickly access and reuse common filter combinations.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Avelero/avelero/llms.txt
Use this file to discover all available pages before exploring further.
List collections
Retrieve all collections for the active brand.Response
Array of collection objects
Create collection
Create a new saved filter collection for the active brand.Input parameters
Collection nameValidation: 1-100 characters
Optional collection descriptionValidation: 1-500 characters
FilterState structure representing the filter configurationThis is stored as JSONB and can contain any valid filter parameters. Common filter properties include:
- Product attributes (category, season, color, size)
- Custom fields
- Date ranges
- Status flags
Response
The created collection object with all fields including generated
id, created_at, and updated_atErrors
500 Internal Server Error: Failed to create collection
Update collection
Update an existing collection. All fields exceptid are optional.
Input parameters
UUID of the collection to update
Updated collection nameValidation: 1-100 characters
Updated collection description (set to
null to clear)Validation: 1-500 charactersUpdated FilterState structureThis replaces the entire filter configuration—partial updates are not supported
Response
The updated collection object with all fields
Errors
404 Not Found: Collection not found500 Internal Server Error: Failed to update collection
Delete collection
Delete a collection permanently.Input parameters
UUID of the collection to delete
Response
The deleted collection object
Errors
404 Not Found: Collection not found500 Internal Server Error: Failed to delete collection
Filter structure
Thefilter field in collections stores a FilterState object as JSONB. This flexible structure allows you to save any combination of product filters.
Common filter properties
The filter structure is flexible and validated client-side. You can include any fields that match your product schema and filtering requirements.