Skip to main content

Get Category Tree

GET 

/api/categories/tree

Returns all categories as a nested tree structure for hierarchical display.

Authentication: Requires Bearer token.

Each node includes: id, name, parent_id, is_leaf, subcategories_count, children[]

Request

Responses

Successful response