> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voyantcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Room Overrides

> Retrieve room-type overrides for a product’s lodging link, optionally scoped by departure or rate plan.

## Method

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

## Path Parameters

<ParamField path="id" type="uuid">Product ID whose overrides should be returned.</ParamField>

## Query Parameters

<ParamField query="departureId" type="uuid">Filter overrides for a specific departure link.</ParamField>
<ParamField query="ratePlanId" type="uuid">Filter overrides for a specific rate plan link.</ParamField>

## Headers

<ParamField header="Authorization" type="string">Bearer token (requires `products:read`).</ParamField>

## Request Example

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.voyantcloud.com/v1/products/prod_123/lodging/overrides?departureId=dep_456" \
    -H "Authorization: Bearer $VOYANT_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const res = await fetch(
    "https://api.voyantcloud.com/v1/products/prod_123/lodging/overrides?ratePlanId=rate_002",
    { headers: { Authorization: `Bearer ${process.env.VOYANT_API_KEY}` } }
  )
  const { data } = await res.json()
  ```

  ```python Python theme={null}
  import os, requests

  resp = requests.get(
    "https://api.voyantcloud.com/v1/products/prod_123/lodging/overrides",
    params={"departureId": "dep_456"},
    headers={"Authorization": f"Bearer {os.environ['VOYANT_API_KEY']}"},
  )
  overrides = resp.json()["data"]
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "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
      }
    ]
  }
  ```
</ResponseExample>

<Tip>
  The API selects the best-matching lodging link (product + departure + rate plan). If no link exists, the response returns an empty array.
</Tip>
