Documentation Index
Fetch the complete documentation index at: https://docs.elivaas.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Inventories List API allows you to retrieve inventory availability for all properties accessible to your distribution channel within a specified date range. Each response includes daily availability counts, stop-sell flags, and minimum/maximum stay restrictions.Retrieving All Inventories
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 |
Understanding Inventory Data
- quantity = 0 or stopSell = true: The property is not available for booking on this date.
- minimumStay: If a guest wants to check in on this date, they must stay at least this many nights.
- maximumStay: The maximum number of nights allowed for a stay that includes this date.
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 date parameters
- 401: Unauthorized
- 500: Internal Server Error

