Retrieve a specific menu category with its hierarchical details
x-tokenx-brandx-venue| Field | Type | Description |
|---|---|---|
success | boolean | Indicates the success status of the request. |
data | object | Category details. |
time | number | Response time. |
timestamp | string | ISO 8601 formatted time. |
unix | number | Unix timestamp. |
| Field | Type | Description |
|---|---|---|
id | integer | Category ID. |
parent_id | integer | Parent category ID, null for root. |
name | string | Category name. |
slug | string | URL-friendly identifier. |
type | string | PRODUCT, INGREDIENT, ACCOUNTING. |
status | integer | 1 = active, 0 = inactive. |
depth | integer | Hierarchy level. |
_lft, _rgt | integer | Nested set boundaries. |
color | string | HEX color. |
properties | object | Additional visibility/setting info. |
children | array | List of subcategories. |
created_at | string | Creation time. |
updated_at | string | Last update time. |
include_children=false parameter returns only a single category record; recommended for performance in large trees.children array recursively uses the same schema; be careful when processing the tree structure repeatedly on the client side.type field in the response, you can read menu, content, or accounting categories from the same endpoint.404; add fallback or remapping logic on the client side.Access token obtained from /auth endpoint
Brand identifier
Venue identifier
Category ID
Include nested child categories in the response