Retrieves all units associated with a specific listing. Shows both auto-generated units (for single-unit properties) and explicit units (for multi-unit properties).
Documentation Index
Fetch the complete documentation index at: https://ota-docs.calry.app/llms.txt
Use this file to discover all available pages before exploring further.
Optional tenant ID to specify which tenant to operate as. If not provided, the default tenant will be used.
Unique identifier of the listing
"123e4567-e89b-12d3-a456-426614174000"
Units retrieved successfully
Unique identifier of the unit
"123e4567-e89b-12d3-a456-426614174000"
Provider unit ID
"unit-123"
Name of the unit
"Ocean View Suite"
Description of the unit
"Beautiful suite with ocean views"
Number of available units of this type
2
Maximum occupancy for this unit
4
Number of bedrooms
2
Number of bathrooms
2
Base price for this unit
200
Currency code
"USD"
Whether this unit was auto-generated
false
Status of the unit
ACTIVE, INACTIVE "ACTIVE"
Creation timestamp
"2025-01-01T00:00:00.000Z"
Last update timestamp
"2025-01-02T00:00:00.000Z"
Unit-specific amenities (null for auto-generated single-unit properties)
[
{
"name": "Balcony",
"description": "Private balcony",
"type": "outdoor"
},
{
"name": "Mini Bar",
"description": "Stocked mini bar",
"type": "amenity"
}
]Unit-specific pictures (null for auto-generated single-unit properties)
[
{
"url": "https://example.com/photo1.jpg",
"description": "Suite interior"
},
{
"url": "https://example.com/photo2.jpg",
"description": "Balcony view"
}
]