Skip to main content
GET
/
v1
/
properties
/
inventories
cURL
curl --request GET \
  --url https://sandbox.elivaas.com/v1/properties/inventories \
  --header 'Api-Key: <api-key>' \
  --header 'Channel-Id: <channel-id>'
[
  {
    "propertyId": "prop_456",
    "inventories": [
      {
        "date": "2024-07-01",
        "quantity": 10,
        "stopSell": false,
        "minimumStay": 1,
        "maximumStay": 7
      }
    ]
  }
]

Authorizations

Api-Key
string
header
required

API

Headers

Channel-Id
string
required

Identifier of the channel making the request.

Example:

"channel123"

Query Parameters

fromDate
string<date>
required

Start date from which to retrieve inventories.

Example:

"2024-07-01"

toDate
string<date>
required

End date until which to retrieve inventories.

Example:

"2024-07-07"

Response

200 - application/json

Successful response with a list of inventories for all properties.

propertyId
string

Identifier of the property these inventory details belong to.

Example:

"prop_456"

inventories
object[]

List of inventory details for different dates at the property.