Overview
The Inventories Retrieve API allows you to get inventory availability for a specific property within a date range. This is useful for checking availability before initiating a booking.Retrieving Property Inventory
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| propertyId | string | Yes | Unique identifier of the property |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| fromDate | string (YYYY-MM-DD) | Yes | Start date for the inventory query |
| toDate | string (YYYY-MM-DD) | Yes | End date for the inventory query |
Example Request
Example Response
Response Fields
| Field | Type | Description |
|---|---|---|
| propertyId | string | Identifier of the property |
| inventories | array | List of daily inventory details |
| inventories[].date | string (date) | Date for the inventory entry |
| inventories[].quantity | integer | Number of units available on this date |
| inventories[].stopSell | boolean | If true, the property is not available for sale on this date |
| inventories[].minimumStay | integer | Minimum nights required for bookings including this date |
| inventories[].maximumStay | integer | Maximum nights allowed for bookings including this date |
Availability Check Logic
To determine if a property is bookable for a date range:- Ensure
quantity > 0for all dates in the range - Ensure
stopSellisfalsefor all dates in the range - Ensure the total stay length meets the
minimumStayrequirement - Ensure the total stay length does not exceed the
maximumStaylimit
Authentication
All requests must include the following headers:Api-Key: Your API key for authenticationChannel-Id: Identifier for the channel making the request
Error Handling
The API returns standard HTTP status codes:- 200: Success
- 400: Bad Request - missing or invalid parameters
- 401: Unauthorized
- 404: Property not found
- 500: Internal Server Error

