---
title: "GET /category-hierarchies/fcweb"
method: GET
path: "/category-hierarchies/fcweb"
---

# GET /category-hierarchies/fcweb

`GET /category-hierarchies/fcweb`

## Request

- Base URL: `https://api.mamaearth.ca` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mamaearth.ca/category-hierarchies/fcweb`
- Auth: none declared
- TypeScript: <https://skmtc.dev/mamaearth/apis/mama-earth-api/docs/category-hierarchies/fcweb/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `depth` integer, required

## Response `200`

getFcwebCategoryHierarchyNodes 200 response

- TreeNodeCategoryHierarchyNode[]
  - `children` ListTreeNodeCategoryHierarchyNode, required
    - `orNull` TreeNodeCategoryHierarchyNode (recursive)
    - `async` boolean
    - `empty` boolean
    - `lazy` boolean
    - `singleValued` boolean
    - `distinct` boolean
    - `ordered` boolean
    - `sequential` boolean
    - `traversableAgain` boolean
    - `memoized` boolean
  - `value` CategoryHierarchyNode, required
    - `id` integer, required
    - `hierarchyId` integer, required
    - `parentId` integer, required
    - `hierarchyCode` string, required
    - `sortOrder` integer, required
    - `level` integer, required
    - `category` Category, required
      - `isAlcohol` boolean
      - `isMeat` boolean
      - `isDonation` boolean
  - `empty` boolean
  - `leaf` boolean

---

[API](https://skmtc.dev/mamaearth/apis/mama-earth-api.md) - [All operations](https://skmtc.dev/mamaearth/apis/mama-earth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mamaearth/apis/mama-earth-api/revisions/2693a8db8dbd?raw)
