POST Block dates

Creates blocks in the calendar for a particular listing, the block is treated as a local block. For the array we only allow up to 100 date ranges to be posted and a total of 730 days for pricing for the 100 date ranges.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Represents a unique identifier for a listing

Body Params

Represents an array of the date ranges that need to be blocked in the format yyyy-MM-dd. Maximum sets of date ranges: 100, or 730 individual dates.

Represents a list of ranges (from and to) in which to block dates.

datesToBlock
array of objects | null

Represents a list of ranges (from and to) in which to block dates. For the array we only allow up to 100 date ranges to be posted and a total of 730 days for pricing for the 100 date ranges in any one request.

datesToBlock
Responses

401

Unauthorized ensure your access token is correct

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json