Skip to main content

Method

POST /v1/products/:id/accommodations/sets

Path Parameters

id
uuid
required
Product ID.

Body Parameters

Headers

Authorization
string
Bearer token (requires products:write).
content-type
string
application/json

Request Example

curl -X POST "https://api.voyantcloud.com/v1/products/prod_123/accommodations/sets" \
  -H "Authorization: Bearer $VOYANT_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "name": "Priority Hotel Options",
    "selectionStrategy": "priority"
  }'

Response Example

{
  "item": {
    "id": "acset_01J0D0EY7XG9ZW5P0N5T0KX6QG",
    "name": "Priority Hotel Options",
    "selection_strategy": "priority"
  }
}