---
title: "CategoryNode"
url: "https://developer.migros.ch/apis/categories-8/versions/c52b807c-f583-4cb5-9293-3a0befc40a44/schemas/CategoryNode"
---

> Full API specification: https://developer.migros.ch/apis/categories-8/versions/c52b807c-f583-4cb5-9293-3a0befc40a44.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.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
```
