put https://{environment}.neomode.com.br/management/catalog/categories/
Updates a category of catalog.
Take notice!
This request updates all values already set. Pay attention and don't have anything lost!
Request body example
{
"name": "Categoria Teste 2",
"code": "12345-teste",
"description": "Uma categoria de teste 2",
"url": "categoria-teste2",
"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",
"children":[]
}
Fields Description
Field | Type | Description |
---|---|---|
name | String | The category name |
url | String | The category address |
imageUrl | String | The category image address |
hexColor | Hexadecimal | Category defined color |
code | String | Category defined text color |
children | Array Object | Category's children |
iconUrl | String | Category icon url |
description | string | Category description |
Result
A 204- No Content result means that the stock was successfully updated.