Skip to main content
PATCH
Change your viewing schedule

Authorizations

Authorization
string
header
required

Authorization: Bearer

Query Parameters

locale
enum<string>
default:en

The response language, ro or en. It changes error messages (title, detail), labels and, when the listing has an approved translation in that language, its title and description. Codes are the same in every language. It takes precedence over Accept-Language and over the account's language.

Available options:
ro,
en

Body

application/json
hours
object | null

Hours.

duration_min
enum<integer> | null

How long a viewing lasts, in minutes: 15, 30, 45, 60 or 90.

Available options:
15,
30,
45,
60,
90,
null
buffer_min
enum<integer> | null

Break between viewings.

Available options:
0,
15,
30,
null
notice_min
enum<integer> | null

Booking notice.

Available options:
0,
60,
120,
240,
1440,
2880,
null
horizon_days
enum<integer> | null

How far ahead hours show.

Available options:
7,
14,
21,
28,
null
confirmation
enum<string>

auto: a booking is confirmed at once. manual: the visitor sends a request, and you accept or decline it.

Available options:
auto,
manual
confirm_pending
boolean

Confirming the waiting requests.

blocked_dates
object[] | null

The days off, as {from, to} date ranges (Y-m-d), at most 50.

Maximum array length: 50

Response

The request succeeded.

data
ViewingScheduleApiResource · object
required

The result of the request.