Version: 202601
Create menu
POST/openapi/2026-01/menus
Create a custom menu for the store.
Request
- application/json
- Body
- Example
Bodyrequired
titlestringrequired
Menu title
categoryint32
Menu category. This endpoint creates custom menus only (3); built-in menus are
maintained by the platform. Defaults to 3 when omitted
childrenobject[]
Menu items tree. Each item has title, type (required, e.g. home, collection, page),
url, children, etc.
json
{
"title": "string",
"category": 0,
"children": [
{}
]
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
menuobject
Created menu ({id, ...})
json
{
"code": "string",
"message": "string",
"data": {
"menu": {}
}
}