Method
PATCH /v1/products/:id/lodging/overrides
Path Parameters
Product ID whose room overrides should be updated.
Body Parameters
Show Room override object
Bearer token (requires products:write).
Request Example
curl -X PATCH "https://api.voyantcloud.com/v1/products/prod_123/lodging/overrides" \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"propertyId": "prop_987",
"departureId": "dep_456",
"roomOverrides": [
{
"room_type_id": "room_001",
"name": "Deluxe Suite",
"available_count": 5,
"currency": "EUR",
"amount_minor": 21900
},
{
"room_type_id": "room_002",
"currency": "EUR",
"amount_minor": 18900
}
]
}'
Response
{
"data": [
{
"id": "plro_001",
"room_type_id": "room_001",
"name": "Deluxe Suite",
"available_count": 5,
"currency": "EUR",
"amount_minor": 21900
},
{
"id": "plro_002",
"room_type_id": "room_002",
"name": null,
"available_count": null,
"currency": "EUR",
"amount_minor": 18900
}
]
}
If the product is not yet linked to the provided property, the API creates the link automatically before applying room overrides.