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
Ответы
200Menu 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 Example200
{
"result": true
}KONSO