Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Get Bookings Policy

Developer Preview

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

GET

https://www.wixapis.com/bookings/v1/services/policy

Request

This endpoint does not take any parameters

Response Object

NAME
TYPE
DESCRIPTION
policy

object

Service policy.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Get Bookings Policy

Returns the business' Bookings policy

Request

curl

Copy Code
1curl -X GET \
2 'https://www.wixapis.com/bookings/v1/services/policy' \
3 -H 'Authorization: <AUTH>'

Response

json

1
2{"policy": {
3 "bookUpToXMinutesBefore": 0,
4 "cancelRescheduleUpToXMinutesBefore": 0,
5 "futureBookingsPolicy": {
6 "shouldLimit": false,
7 "limitXMinutesToTheFuture": 10080
8 },
9 "waitingListPolicy": {
10 "isEnabled": false,
11 "capacity": 10,
12 "timeWindowMinutes": 10
13 }
14}}