Retrieve product categories along with their hierarchical structure
x-tokenx-brandx-venuePRODUCT, INGREDIENT, ACCOUNTING.| Field | Type | Description |
|---|---|---|
success | boolean | Indicates if the request was successful. |
data | array | Category objects. |
total | number | Total number of categories. |
time | number | Response time (ms). |
timestamp | string | ISO 8601 date. |
unix | number | Unix timestamp. |
| Field | Type | Description |
|---|---|---|
id | integer | Unique identifier. |
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 settings and visibility info. |
children | array | Subcategories. |
created_at | string | Creation time. |
updated_at | string | Last update time. |
type parameter, you can call different category collections (menu, ingredient, accounting) from a single endpoint.include_children=false, you can retrieve only top-level categories; sub-branches are retrieved with separate calls._lft, _rgt, depth) allow you to resolve parent-child relationships using nested set logic.include_inactive=true; otherwise, they are hidden by default.page, limit) according to the brand’s inventory size.Access token obtained from /auth endpoint
Brand identifier
Venue identifier
Page number for pagination (starts at 1)
x >= 1Number of categories to return per page (1-999)
1 <= x <= 999Filter to categories under a specific parent ID
Filter by category type
PRODUCT, INGREDIENT, ACCOUNTING Include nested child categories in the response
Whether to include inactive categories