POST

Count Booking Policies


Counts booking policies, given the provided filtering.

See the supported filters article for details.

Permissions
Manage Bookings Services and Settings
Manage Bookings - all permissions
Read Bookings - all read permissions
Manage Bookings
Read Bookings - Public Data
Read Bookings - Including Participants
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/bookings/v1/booking-policies/count

Body Params
filterstruct

Filter to base the count on. See the supported filters article for details.

Response Object
countinteger

Number of booking policies matching the provided filter.

Request
cURL
curl -X POST \ 'https://wixapis.com/bookings/v1/booking-policies/count' \ -H 'Authorization: <AUTH>' \ -d '{}'
Response
JSON
{ "count": 8 }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?