Skip to main content

Method

GET /v1/products/:id/lodging/overrides

Path Parameters

id
uuid
Product ID whose overrides should be returned.

Query Parameters

departureId
uuid
Filter overrides for a specific departure link.
ratePlanId
uuid
Filter overrides for a specific rate plan link.

Headers

Authorization
string
Bearer token (requires products:read).

Request Example

curl "https://api.voyantcloud.com/v1/products/prod_123/lodging/overrides?departureId=dep_456" \
  -H "Authorization: Bearer $VOYANT_API_KEY"

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
    }
  ]
}
The API selects the best-matching lodging link (product + departure + rate plan). If no link exists, the response returns an empty array.