List all categories
Returns a paginated list of categories. Supports filtering by name, product, site, or specific category UUID. Can also return only root categories or exclude descendant categories from results.
Query Parameters
Page number for pagination (1-based).
Number of categories to return per page.
Sort order for the results.
ascdescSearch filter to match category names or descriptions.
Filter by specific category UUID.
Filter categories that contain this specific product.
Filter categories by site/domain.
If true, return only root categories (no parent).
If true, exclude descendant categories from results.
Responses
Categories retrieved successfully
Total number of categories matching the query.
Validation or business logic error. Returned when:
pageorper_pageare not integers or out of range (1–100000 / 1–100)orderis notascordescfilterexceeds 120 characterscategory_id,product_id, orsite_idare not valid UUIDsrootsorexclude_descendantsare not booleans- Unknown query parameters are sent
Error codes:
| Code | Description |
|---|---|
| 1002 | Category, product, or site not found |
Unauthorized – invalid or missing Bearer token