This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deletes an availability exception.
function deleteAvailabilityException(
availabilityExceptionId: string,
): Promise<void>;
ID of the availability exception to delete.
import { availabilityExceptions } from "@wix/restaurants";
async function deleteAvailabilityException(availabilityExceptionId) {
const response = await availabilityExceptions.deleteAvailabilityException(
availabilityExceptionId,
);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.