---
title: "CategoryNode"
url: "https://developer-qual.migros.ch/apis/categories-8/versions/8ce90ed3-19b1-4b6b-9012-a509d9212a56/schemas/CategoryNode"
---

> Full API specification: https://developer-qual.migros.ch/apis/categories-8/versions/8ce90ed3-19b1-4b6b-9012-a509d9212a56.md

# CategoryNode

Recursive element of the category tree. This is an alternate representation of categories instead of Category & BaseCategory to output the tree structure on the dedicated API end point.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Categories
  version: "8"
servers:
  - description: Public Kong Gateway URL
    url: https://api-qual.migros.ch
components:
  schemas:
    CategoryNode:
      description: >-
        Recursive element of the category tree.


        This is an alternate representation of categories instead of Category &
        BaseCategory to output the tree structure

        on the dedicated API end point.
      properties:
        code:
          description: ID of the category.
          type: string
        name:
          type: string
      type: object
```
