Method
GET /v1/products/:id/accommodations/sets
Path Parameters
Product ID.
Headers
Bearer token (requires
products:read).curl "https://api.voyantcloud.com/v1/products/prod_123/accommodations/sets" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"items": [
{
"id": "acset_01J0D0EY7XG9ZW5P0N5T0KX6QG",
"name": "Default Rooms",
"selection_strategy": "priority",
"candidates_count": 3
}
]
}
Retrieve accommodation sets configured for a product.
GET /v1/products/:id/accommodations/sets
products:read).curl "https://api.voyantcloud.com/v1/products/prod_123/accommodations/sets" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"items": [
{
"id": "acset_01J0D0EY7XG9ZW5P0N5T0KX6QG",
"name": "Default Rooms",
"selection_strategy": "priority",
"candidates_count": 3
}
]
}