Skip to main content

Method

GET /v1/products/:id/lodging

Path Parameters

id
uuid
Product ID that owns the lodging link.

Headers

Authorization
string
Bearer token (requires products:read).

Request Example

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

Response

{
  "data": {
    "link": {
      "id": "pll_001",
      "productId": "prod_123",
      "propertyId": "prop_987",
      "departureId": null,
      "ratePlanId": null,
      "roomTypeId": null,
      "active": "true"
    },
    "override": {
      "id": "plo_001",
      "name": "Voyant Athens Hotel",
      "shortDescription": "Boutique stay near Syntagma Square",
      "description": "Enjoy central Athens with curated experiences.",
      "mediaSetRef": "media_set_123",
      "amenityKeys": ["wifi", "breakfast"],
      "currency": "EUR",
      "priceStrategy": "absolute",
      "priceAmountMinor": 18900,
      "priceReferenceRatePlanId": null,
      "cancellationPolicyId": "pol_456",
      "depositPolicyId": null
    }
  }
}
If the product is not linked to a property, the response returns { "data": { "link": null, "override": null } }.