Counts how many services match the given filter.
Refer to the supported filters article (REST) for more details.
To learn about working with filters in general, see API Query Language
function countServices(
options: CountServicesOptions,
): Promise<CountServicesResponse>;
import { services } from "@wix/bookings";
async function countServices(options) {
const response = await services.countServices(options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.