Skip to main content
POST
Create Menu

Create Menu

Creates a new navigation menu in the store.

Request

Body Parameters

title
string
required
The menu title
handle
string
URL-safe handle. Auto-generated from title if not provided. Common handles include main-menu, footer, header.
Array of menu links

Response

success
boolean
Whether the request succeeded
data
object
The created menu object with all links

Example Response

Create a menu with dropdown items:

Error Codes

CodeDescription
UNAUTHORIZEDInvalid or missing access token
FORBIDDENApp doesn’t have write_content scope
VALIDATION_ERRORInvalid request body (see error details)
DUPLICATE_HANDLEA menu with this handle already exists