Go Headless

Changelog

API Reference
Articles
Platform Overview
Authentication
Work with Wix APIs
SDK Setup and Usage
Wix MCP

App Management
OAuth 2
App Billing
App Instance
App Permissions
Embedded Scripts
BI Event
Editor Deep Link
Site Plugins

Business Solutions
eCommerce
Stores
Bookings
CMS
Events
Restaurants
Introduction
Wix Restaurants (New)
Introduction
About Business Locations
Menus
Introduction
Sample Flows
Retrieve a Complete Menu Structure
Build a Complete Menu
Menus
Introduction
Sample Use Cases and Flows
Supported Filters and Sorting
Menu Object
P
Create Menu
G
Get Menu
P
Update Menu
D
Delete Menu
P
Query Menus
G
List Menus
P
Bulk Create Menus
P
Bulk Update Menu
P
Duplicate Menu
P
Update Extended Fields
Menu Created
Menu Deleted
Menu Updated
Sections
Items
Online Orders
Reservations
Wix Restaurants
Blog
Forum
Pricing Plans
Portfolio
Benefit Programs
Donations
Gift Cards
Coupons

Assets
Media
HTTP Functions
Rich Content
Pro Gallery

CRM
Members & Contacts
Forms
Community
Communication
Loyalty Program
CRM

Business Management
AI Site-Chat
Analytics
App Installation
Async Job
Automations
Branches
Calendar
Captcha
Cookie Consent Policy
Custom Embeds
Data Extension Schema
Dashboard
FAQ App
Functions
Get Paid
Headless
Locations
Marketing
Multilingual
Notifications
Payments
Site Search
Secrets
Site Properties
Site URLs
Tags

Account Level
About Account Level APIs
Sites
Resellers
Domains
B2B Site Management
User Management

Site
Viewer

Menu Created


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Notes:
  • This method registers a callback function as an event handler.
  • When developing websites or building apps with Blocks, use a Velo backend event instead of this method.
  • When building apps not using Blocks, the way you call this method differs depending on the framework you are working in:
    • When using the CLI, run the generate command to add an event extension, and then call this method within the extension code.
    • When building a self-hosted app, subscribe your app to the relevant event, and then call this method on your server.
Permissions
Wix Multilingual - Nile Wrapper Domain Events Read
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
handlerfunction

handler(event: MenuCreatedEnvelope): void | Promise<void>

Did this help?