onAvailabilityExceptionDeleted( )


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 deleted.

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

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

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