Update menu
Обновляет меню и возвращает обновлённый объект меню в случае успешного выполнения.
Параметры запроса
idnumberThe unique identifier of the menu to update
namestringThe name of the menu
categoryIdnumberThe category identifier this menu belongs to
isPublishedbooleanWhether the menu is published or not
Ответы
тип: GenericResultResponse<boolean>
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
}'{
"result": true
}