POST
/cms/menus/{bucketId} https://apis-spb.konso.io/cms/menus/{bucketId} Create menu
Параметры запроса
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
Ответы
201 Menu created successfully
тип: GenericResultResponse<number>
Язык:
expand_more
Пример запроса
curl --request POST \
--url https://apis-spb.konso.io/cms/menus/{bucketId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: {your-api-key}' \
--data '{
"name": "Main Navigation",
"categoryId": 1,
"isPublished": true
}' Response Example 201
{
"result": 123456
} KONSO