Accommodations are bookable stays (e.g., rooms, cabins, apartments).
All endpoints are scoped to the organization that owns the API key:
/store/v0
List accommodations
Retrieve all public accommodations for the organization.
GET /store/v0/accommodationsResponse
{
"accommodations": [
{
"public_id": "2f1b2d7c-6a51-4d35-9b5a-9b0c3b8efb2a",
"name": "Standard Cabin"
}
]
}The list only includes publicly visible accommodations. Each accommodation also carries:
| Field | Type | Description |
|---|---|---|
capacity | integer | Most guests the accommodation can have. |
medias | array | Photos in display order. Each has id, file_url, display_url, thumbnail_url and an optional srcset. |
included_addon_names | string[] | Names of add-ons included in the price, e.g. "Breakfast". |
base_rate, min_stay_nights, max_stay_nights, check_in_time, check_out_time, thumbnail_url | Rate and stay rules. |
Get accommodation
Retrieve a single accommodation by public_id.
GET /store/v0/accommodations/{public_id}Response
{
"accommodation": {
"public_id": "2f1b2d7c-6a51-4d35-9b5a-9b0c3b8efb2a",
"name": "Standard Cabin"
}
}