getStrictestBookingPolicy( )


Retrieves the strictest version of each policy rule from a list of booking policies.

Returns a hypothetical bookingPolicy object that combines the strictest version of each rule. The id of the returned policy is null and no corresponding bookingPolicy object is created. To create a new policy, you can call Create Booking Policy (SDK | REST).

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.
Method Declaration
Copy
Method Parameters
bookingPolicyIdsArray<string>Required

IDs of the booking policies for which to retrieve the strictest rules for.

Returns
Return Type:Promise<GetStrictestBookingPolicyResponse>
Errors

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

Did this help?