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 reservation is deleted.
function onReservationDeleted(handler: function): void;
handler(event: ReservationDeletedEnvelope): void | Promise<void>
import { reservations } from "@wix/table-reservations";
reservations.onReservationDeleted((event) => {
// handle your event here
});