This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Counts booking policies, given the provided filtering.
See the supported filters article for details.
function countBookingPolicies(
options: CountBookingPoliciesOptions,
): Promise<CountBookingPoliciesResponse>;
import { bookingPolicies } from "@wix/bookings";
async function countBookingPolicies(options) {
const response = await bookingPolicies.countBookingPolicies(options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.