Skip to main content

Batch Availabilities

Get availabilities and rates of multiple properties between given dates.

HTTP Request​

GET https://dev.calry.app/api/v1/vrs/availability/batch

Headers​

HeaderValue
AuthorizationBearer YOUR_ACCESS_TOKEN
workspaceIdYOUR_WORKSPACE_ID
integrationAccountIdYOUR_INTEGRATION_ACCOUNT_ID

Request Body​

FieldTypeDescription
propertyIdsstring[]Required. Unique Identifiers of the properties.
roomIds.propertyIdstringOptional. Unique Identifier of the property.
roomIds.roomIdstring[]Required. Unique Identifiers of the rooms or room types of the associated property.
startDatestringRequired. The start date of the availability check in YYYY-MM-DD format.
endDatestringRequired. The end date of the availability check in YYYY-MM-DD format.
ratesboolRequired. Determines whether nightly rates and stay information should be included in the response.

Example Request​

curl --location 'https://dev.calry.app/api/v1/vrs/availability/batch' \
--header 'Authorization: Bearer eyJraWQiOiJzUWasaswMwMzE2MzExLTg3NDktNGNhMC05NDg0LTBlNWM1ZDVlMDExOSIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJodHRwczovL2Rldi5jYWxyeS5hcHAvYXBpL2F1dGgiLCJ1c2VySWQiOiJjNjhmODE5My1lNjEwLTQ2NjItOTc1OC1kNmYxMmFhODAwODYiLCJ3b3Jrc3BhY2VJZCI6IjE0ODc3OTZkLTNmY2QtNGE2Mi04ODRhLTNhYWJhNTA3ZTczMiIsIm5hbWUiOiJ0ZXN0IGtleSIsInNvdXJjZSI6Im1pY3Jvc2VydmljZSIsImlhdCI6MTczODE1MjkyMSwoxNzc0MTUyOTIxfQ.B1va47u7biYinOcdbZymTHb34dCj9KqH3GkljySDlIRB1v-Puqytc4lWpIdXFpbq-HYF6o7efv0Pjk8Co4cEw3yBX1ZnHeh5g474lnut4W04WcxwGIsHCLGEpA-rLjDbIEYNZg8-bL-sTD0JJo-uw1Law2krNdS55IhPvUIt-chtQQ7HMuvuBkgSsX6I15ODCU6DZEgmdzFTg8MdT5hfuBY5TMLdLHaF1YEMs_lFAyQoXPdNjfCU6Gi2Qp5NHltjAT6rwmfGoDTzl0ZCb32NaR92GuWekhtPu2JKQ4sX9ti8xuKokM1vVGQHlntPSp77AGpWST707SGGyzhnAbNLcA' \
--header 'workspaceId: 1487796d-3fcd-4a62-884a-3aaba507e732' \
--header 'integrationAccountId: 79aa8280-55ab-4048-9eaf-d13108d39ef7' \
--data '{
"propertyIds": [
"279411",
"279414"
],
"roomIds": [
{
"propertyId": "279411",
"roomId": [
"341959"
]
},
{
"propertyId": "279414",
"roomId": [
"341967"
]
}
],
"startDate": "2025-02-15",
"endDate": "2025-02-20",
"rates": true
}'

Example Response​

{
"success": true,
"data": [
{
"propertyId": "279411",
"roomId": "341959",
"dateWiseAvailability": [
{
"date": "2025-02-15",
"status": "NOT_AVAILABLE",
"price": {
"amount": 139
},
"minimumNights": 1,
"maximumNights": 0
},
{
"date": "2025-02-16",
"status": "NOT_AVAILABLE",
"price": {
"amount": 109
},
"minimumNights": 1,
"maximumNights": 0
},
{
"date": "2025-02-17",
"status": "AVAILABLE",
"price": {
"amount": 109
},
"minimumNights": 1,
"maximumNights": 0
},
{
"date": "2025-02-18",
"status": "AVAILABLE",
"price": {
"amount": 89
},
"minimumNights": 1,
"maximumNights": 0
},
{
"date": "2025-02-19",
"status": "AVAILABLE",
"price": {
"amount": 99
},
"minimumNights": 1,
"maximumNights": 0
},
{
"date": "2025-02-20",
"status": "AVAILABLE",
"price": {
"amount": 119
},
"minimumNights": 1,
"maximumNights": 0
}
]
},
{
"propertyId": "279414",
"roomId": "341967",
"dateWiseAvailability": [
{
"date": "2025-02-15",
"status": "NOT_AVAILABLE",
"price": {
"amount": 179
},
"minimumNights": 1,
"maximumNights": 0
},
{
"date": "2025-02-16",
"status": "NOT_AVAILABLE",
"price": {
"amount": 159
},
"minimumNights": 1,
"maximumNights": 0
},
{
"date": "2025-02-17",
"status": "AVAILABLE",
"price": {
"amount": 89
},
"minimumNights": 1,
"maximumNights": 0
},
{
"date": "2025-02-18",
"status": "AVAILABLE",
"price": {
"amount": 89
},
"minimumNights": 1,
"maximumNights": 0
},
{
"date": "2025-02-19",
"status": "AVAILABLE",
"price": {
"amount": 99
},
"minimumNights": 1,
"maximumNights": 0
},
{
"date": "2025-02-20",
"status": "AVAILABLE",
"price": {
"amount": 119
},
"minimumNights": 1,
"maximumNights": 0
}
]
}
]
}