Counts services according to given criteria. Use WQL filter to define the criteria.
The filters for performing the count.
The number of services matching the given filter.
curl -X POST 'https://www.wixapis.com/bookings/v2/services/count' \
-H 'Authorization: <AUTH>' \
-d '{
"query": {
"filter": {
"hidden": {
"$eq": "false"
}
}
}
}'
{
"count": 2
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.