This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an item label is deleted.
function wixRestaurantsMenus_onItemLabelDeleted(event: ItemLabelDeleted): void;
export function wixRestaurantsMenus_onItemLabelDeleted(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an item label is updated.
function wixRestaurantsMenus_onItemLabelUpdated(event: ItemLabelUpdated): void;
export function wixRestaurantsMenus_onItemLabelUpdated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
function wixRestaurantsMenusV1_onItemModifierDeleted(
event: ItemModifierDeleted,
): void;
export function wixRestaurantsMenusV1_onItemModifierDeleted(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an item modifier is created.
function wixRestaurantsMenus_onItemModifierCreated(
event: ItemModifierCreated,
): void;
export function wixRestaurantsMenus_onItemModifierCreated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an item modifier is updated.
function wixRestaurantsMenus_onItemModifierUpdated(
event: ItemModifierUpdated,
): void;
export function wixRestaurantsMenus_onItemModifierUpdated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
function wixRestaurantsMenusV1_onItemModifierGroupDeleted(
event: ItemModifierGroupDeleted,
): void;
export function wixRestaurantsMenusV1_onItemModifierGroupDeleted(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an item modifier group is created.
function wixRestaurantsMenus_onItemModifierGroupCreated(
event: ItemModifierGroupCreated,
): void;
export function wixRestaurantsMenus_onItemModifierGroupCreated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an item modifier group is updated.
function wixRestaurantsMenus_onItemModifierGroupUpdated(
event: ItemModifierGroupUpdated,
): void;
export function wixRestaurantsMenus_onItemModifierGroupUpdated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
function wixRestaurantsMenusV1_onItemVariantDeleted(
event: ItemVariantDeleted,
): void;
export function wixRestaurantsMenusV1_onItemVariantDeleted(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an item variant is created.
function wixRestaurantsMenus_onItemVariantCreated(
event: ItemVariantCreated,
): void;
export function wixRestaurantsMenus_onItemVariantCreated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an item variant is updated.
function wixRestaurantsMenus_onItemVariantUpdated(
event: ItemVariantUpdated,
): void;
export function wixRestaurantsMenus_onItemVariantUpdated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a menu is created.
function wixRestaurantsMenus_onMenuCreated(event: MenuCreated): void;
export function wixRestaurantsMenus_onMenuCreated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a menu is deleted.
function wixRestaurantsMenus_onMenuDeleted(event: MenuDeleted): void;
export function wixRestaurantsMenus_onMenuDeleted(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a menu is updated.
function wixRestaurantsMenus_onMenuUpdated(event: MenuUpdated): void;
export function wixRestaurantsMenus_onMenuUpdated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.