Retrieves a booking policy.
ID of the booking policy to retrieve.
Retrieved booking policy.
curl -X GET \
'https://wixapis.com/bookings/v1/booking-policies/1a426c47-0c86-46c7-8573-c7bce734f660' \
-H 'Authorization: <AUTH>'
{
"bookingPolicy": {
"id": "1a426c47-0c86-46c7-8573-c7bce734f660",
"revision": "1",
"createdDate": "2023-02-16T10:46:17.420Z",
"updatedDate": "2023-02-16T10:46:17.420Z",
"name": "My custom policy",
"customPolicyDescription": {
"enabled": true,
"description": "To cancel or reschedule, please contact us at least 24 hours in advance"
},
"default": false,
"limitEarlyBookingPolicy": {
"enabled": true,
"earliestBookingInMinutes": 43200
},
"limitLateBookingPolicy": {
"enabled": true,
"latestBookingInMinutes": 180
},
"bookAfterStartPolicy": {
"enabled": false
},
"cancellationPolicy": {
"enabled": true,
"limitLatestCancellation": true,
"latestCancellationInMinutes": 1440
},
"reschedulePolicy": {
"enabled": true,
"limitLatestReschedule": true,
"latestRescheduleInMinutes": 1440
},
"waitlistPolicy": {
"enabled": true,
"capacity": 10,
"reservationTimeInMinutes": 30
},
"participantsPolicy": {
"enabled": false,
"maxParticipantsPerBooking": 1
}
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.