Method
GET /v1/products/:id/lodging
Path Parameters
Product ID that owns the lodging link.
Headers
Bearer token (requires
products:read).curl "https://api.voyantcloud.com/v1/products/prod_123/lodging" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"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
}
}
}
Retrieve the lodging link and property override for a product.
GET /v1/products/:id/lodging
products:read).curl "https://api.voyantcloud.com/v1/products/prod_123/lodging" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"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
}
}
}
{ "data": { "link": null, "override": null } }.