POST

Count Booking Policies


Counts booking policies, given the provided filtering.

See supported filters (REST) for a complete list of supported filters.

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 supported filters* (REST) 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?