Purpose
Returns a single category, regardless of whether it is a root or subcategory, and optionally its child nodes.HTTP Request
Request Example
Response
200 OK — Category found
404 Not Found — Category does not exist
Field Reference
Category Object
Notes
- The
include_children=falseparameter returns only a single category record; recommended for performance in large trees. - The returned
childrenarray recursively uses the same schema; be careful when processing the tree structure repeatedly on the client side. - Based on the
typefield in the response, you can read menu, ingredient, or accounting categories from the same endpoint. - If the category is not found, it returns
404; add fallback or remapping logic on the client side.