Skip to main content

Method

PATCH /v1/products/:id/accommodations/sets/:setId

Path Parameters

id
uuid
required
Product ID.
setId
uuid
required
Accommodation set ID.

Body Parameters

All fields are optional; only provided keys are updated.

Headers

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

Request Example

curl -X PATCH "https://api.voyantcloud.com/v1/products/prod_123/accommodations/sets/acset_01J0D0EY7XG9ZW5P0N5T0KX6QG" \
  -H "Authorization: Bearer $VOYANT_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "name": "Premium Options",
    "selectionStrategy": "priority",
    "defaults": { "board": "half-board" }
  }'

Response Example

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