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 } ] } ]
API
Identifier of the channel making the request.
"channel123"
Start date from which to retrieve inventories.
"2024-07-01"
End date until which to retrieve inventories.
"2024-07-07"
Successful response with a list of inventories for all properties.
Identifier of the property these inventory details belong to.
"prop_456"
List of inventory details for different dates at the property.
Show child attributes
Date for which inventory information is provided.
Number of units available on the specified date.
10
Indicates if selling should be stopped for this date.
false
Minimum length of stay required for bookings on this date.
1
Maximum length of stay allowed for bookings on this date.
7