/v1/resources/{id}/calendar
GET
/v1/resources/{id}/calendar
const url = 'http://localhost:8787/v1/resources/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/calendar?from=2026-04-15T12%3A00%3A00Z&to=2026-04-15T12%3A00%3A00Z';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8787/v1/resources/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/calendar?from=2026-04-15T12%3A00%3A00Z&to=2026-04-15T12%3A00%3A00Z' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Query Parameters
Section titled “Query Parameters”from
required
string format: date-time
to
required
string format: date-time
Responses
Section titled “Responses”Per-day availability/price-hint/restrictions for the requested window. Strong ETag + Cache-Control: max-age=60.
Media typeapplication/json
object
currency
required
string
days
required
Array<object>
object
date
required
string
priceHintMinorUnits
required
string | null
reasons
required
Array<string>
restrictions
required
object
closedToArrival
required
boolean
closedToDeparture
required
boolean
maxStayNights
required
integer | null
minStayNights
required
integer | null
stopSell
required
boolean
status
required
string
from
required
string
resourceId
required
string format: uuid
to
required
string
Example
{ "days": [ { "reasons": [ "occupancy_exceeded" ], "status": "available" } ]}Headers
Section titled “Headers”ETag
string
Strong ETag
If-None-Match matched the current ETag — body unchanged, re-use your copy.
from is not strictly before to, or the range exceeds 366 nights.
Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
number
title
required
string
type
required
string
Example
{ "code": "resource_not_found"}No such resource for this tenant.
Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
number
title
required
string
type
required
string
Example
{ "code": "resource_not_found"}