post https://{environment}.neomode.com.br/management/catalog/categories
Creates a new category on catalog.
Request body example:
{
"parentId": "00000000-0000-0000-0000-000000000000",
"name": "Categoria Teste",
"code": "1234-teste",
"description": "Uma categoria de teste",
"url": "categoria-teste",
"clientId": "neodocs",
"hexColor": "#ffffff",
"imageUrl": "https://dev-lori.neomode.com.br/assets/img/logo_s.png",
"iconUrl": "https://dev-lori.neomode.com.br/assets/img/logo_s.png",
"order": 12
}
Fields description:
Field | Type | Description |
---|---|---|
id | Guid | Category ID |
parentId | Guid | Parent category ID |
name | String | Category name |
code | String | Category code |
description | String | The category description |
url | String | Category address |
hexColor | Hexadecimal | Category color defined |
imageUrl | String | Category image address |
iconUrl | String | Category icon address |
order | Int | The order where the category appears on catalog |
createDate | Date | Category creation date. |
lastUpdate | Date | Category last update. |
childen | Array Object | The categories which that are children of the one created |
clientId | String | The client ID. |