The Category entity at YouCan.
| Attribute Name | Type | Description |
|---|---|---|
| id | string | Identifier (UUID) |
| name | string | Category name |
| slug | string | Category slug |
| description | string, null | Category description |
| image | string, null | Category image URL |
| show_on_collection | bool | Whether the category is shown on the collection page |
| depth | int | Nesting depth (0 = top-level) |
| url | string | Public URL of the category page |
| deleted_at | string, null | Deletion date (ISO 8601), null if not deleted |
| parent | object, null | Parent category (default include) |
| children | array | Child categories (available include) |
| meta | object | SEO attributes |
Parent
The parent category object (same structure, without nested parent/children).
Children
Array of child category objects (same structure, without nested children).
Meta
SEO object.
| Attribute Name | Type | Description |
|---|---|---|
| title | string, null | Meta title |
| description | string, null | Meta description |
| images | array | Meta images |