Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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 } ] }'
await fetch("https://api.voyantcloud.com/v1/products/prod_123/lodging/overrides", { method: "PATCH", headers: { Authorization: `Bearer ${process.env.VOYANT_API_KEY}`, "content-type": "application/json", }, body: JSON.stringify({ propertyId: "prop_987", roomOverrides: [ { room_type_id: "room_001", currency: "EUR", amount_minor: 21900 }, ], }), })
import os, requests payload = { "propertyId": "prop_987", "ratePlanId": "rate_002", "roomOverrides": [ { "room_type_id": "room_003", "name": "Family Room", "currency": "EUR", "amount_minor": 24900 } ] } resp = requests.patch( "https://api.voyantcloud.com/v1/products/prod_123/lodging/overrides", headers={ "Authorization": f"Bearer {os.environ['VOYANT_API_KEY']}"}, json=payload, ) result = resp.json()
{ "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 } ] }
Create or update room-type overrides for a product’s lodging link in a single request.
PATCH
/v1/products/:id/lodging/overrides
Show Room override object
products:write
application/json