onAvailabilityExceptionUpdated( )


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:

Triggered when an availability exception is updated.

Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
function onAvailabilityExceptionUpdated(handler: function): void;
Method Parameters
handlerfunction

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

JavaScript
import { availabilityExceptions } from "@wix/restaurants"; availabilityExceptions.onAvailabilityExceptionUpdated((event) => { // handle your event here });
Did this help?