POST
/cms/menus/{bucketId}https://apis-spb.konso.io/cms/menus/{bucketId}Create menu
Параметры запроса
namestringThe name of the menu
categoryIdnumberThe category identifier this menu belongs to
isPublishedbooleanWhether the menu is published or not
Ответы
201Menu 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 Example201
{
"result": 123456
}KONSO