API Reference

Update Category

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

FieldTypeDescription
nameStringThe category name
urlStringThe category address
imageUrlStringThe category image address
hexColorHexadecimalCategory defined color
codeStringCategory defined text color
childrenArray ObjectCategory's children
iconUrlStringCategory icon url
descriptionstringCategory description

📘

Result

A 204- No Content result means that the stock was successfully updated.

Language
Credentials
Basic
base64
:
URL