Skip to main content
GET
/
v1
/
properties
/
{propertyId}
/
inventories
cURL
curl --request GET \
  --url https://sandbox.elivaas.com/v1/properties/{propertyId}/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"

Path Parameters

propertyId
string
required

Identifier of the property to retrieve inventories for.

Example:

"prop_456"

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 the inventories for the property.

Response object containing inventory information for a property.

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.