PUT
/cms/menus/{bucketId} https://apis-spb.konso.io/cms/menus/{bucketId} Update menu
Параметры запроса
id number The unique identifier of the menu to update
name string The name of the menu
categoryId number The category identifier this menu belongs to
isPublished boolean Whether the menu is published or not
Ответы
200 Menu updated successfully
тип: GenericResultResponse<boolean>
Язык:
expand_more
Пример запроса
curl --request PUT \
--url https://apis-spb.konso.io/cms/menus/{bucketId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: {your-api-key}' \
--data '{
"id": 123456,
"name": "Updated Navigation",
"categoryId": 1,
"isPublished": true
}' Response Example 200
{
"result": true
} KONSO