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