Fields
None. Needs Products and changes: Read.
Every category, in one flat list ordered so that a parent always comes before its children (by depth, then sort_order), so you can build the tree in one pass. A product's category and category_path are slugs from here. It is the same tree for every store, and it is served even while catalog sync is switched off.
Each category
| Field | Meaning |
|---|---|
| slug | The category's name in this API: a product's category and category_path, and the categories of a pricing rule or restriction, name it by its slug. FFL Monkey staff can change a slug; the category stays the same category, so read the tree again rather than keeping it for good. |
| name | The category's name for people. |
| description | Copy for the category's own page, or null. |
| parent | The parent's slug, or null at a root. |
| depth | 0 at a root, 1 for its children, and so on. |
| sort_order | Order among the parent's children. |
Returns
- 200The tree, in
data.
This endpoint can also answer 401 invalid_api_key, 403 license_not_active, 403 product_not_included, 403 insufficient_scope and 429 rate_limited.