This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Counts how many staff members match the given filter.
Refer to the supported filters article (SDK | REST) for a complete list of supported filters and sorting options.
To learn about working with filters in general, see API Query Language.
Total number of staff members matching the given filter.
Count staff members, providing a filter to count specific staff members matching the filter.
curl -X POST \
'https://www.wixapis.com/bookings/v1/staff-members/count' \
-H 'Authorization: <AUTH>' \
-d '{
"filter": {
"name": {
"$eq": "Name that does not exist"
}
}
}'
{
"count": 0
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.