Categories
List categories
Returns the paginated list of categories in your store.
GET
string
required
Your store ID in Jelou Shop.
boolean
default:"true"
Send
false to get all categories without pagination.string
Use
products to include each category’s products in the response.string
Ordering, as a comma-separated list. Prefix with
- for descending order (e.g. sort=order,-name). Sortable fields: order, name, created_at. Unknown fields are ignored.string
Filter categories by branch. Controls which categories are returned:
- Omitted → only global categories (no branch,
branch_idnull). branch_id=<uuid>→ only that branch’s categories.branch_id=*→ categories from all branches (and global ones).
string
Filter categories by a branch code. If the code does not exist, the response is empty. Takes precedence over
branch_id.The
parent_id field indicates the parent category (hierarchy). It is null for root categories. The products_count value is only returned in tree mode, not in the flat listing.Tree mode
Withtree=true, the response returns categories nested by parent_id. Each node adds:
children: array of subcategories (same structure, recursive).children_count: number of direct children.products_count: number of active products in that category.
branch, branch_id, status and sort filters also apply in this mode. The tree response is not paginated.
Replace
{app_id} with your store ID and YOUR_API_KEY with your API key.