Filtering & Sorting
Query parameters for filtering and sorting results.
Updated
On this page
Filtering
Most list endpoints support filters via query parameters:
Products
GET /storefront/products?category=flower&brand=premium-farms&search=blue&cf_featured=true
Blog Posts
GET /storefront/blog/posts?category=news&tag=update&featured=true&search=launch
Reviews
GET /storefront/reviews?rating=5&has_media=true
Custom Field Filters
Filter by any custom field using the cf_ prefix:
GET /storefront/products?cf_strain_type=indica&cf_potency=high
Sorting
# Products
GET /storefront/products?sort=price_asc # cheapest first
GET /storefront/products?sort=price_desc # most expensive first
GET /storefront/products?sort=rating # highest rated
GET /storefront/products?sort=newest # most recent
Combining
GET /storefront/products?category=edibles&sort=price_asc&limit=12&cf_featured=true
Next Steps
- Pagination — Paging through results
- Search & Filters — SDK filtering