Update Menu
Menus
Update Menu
Update an existing navigation menu
PUT
Update Menu
Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
Update Menu
Updates an existing navigation menu. You can update the title, handle, and completely replace the links array.Request
Path Parameters
The unique menu ID to update
Body Parameters
All parameters are optional. Only provided fields will be updated.The menu title
URL-safe handle
Complete replacement of menu links. Provide the full links array - existing links not in the array will be removed.
Response
Whether the request succeeded
The updated menu object
Example Response
Notes
- The
linksarray is a complete replacement - existing links not included will be deleted - To preserve existing links, include their
idin the update - Links are automatically assigned positions based on their array order
- Changing the handle may affect theme templates that reference menus by handle
Error Codes
| Code | Description |
|---|---|
UNAUTHORIZED | Invalid or missing access token |
FORBIDDEN | App doesn’t have write_content scope |
NOT_FOUND | Menu with the specified ID does not exist |
VALIDATION_ERROR | Invalid request body (see error details) |
DUPLICATE_HANDLE | A menu with this handle already exists |