Show Property
const url = 'https://integrations.wink.travel/api/channel-manager/property/property-1';const options = {method: 'GET', headers: {'Wink-Version': '2.0'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://integrations.wink.travel/api/channel-manager/property/property-1 \ --header 'Wink-Version: 2.0'Retrieves property record with master rates included.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Retrieve record for this propertyIdentifier
Example
property-1Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
object
object
Property ID
Property name
City property is located in or near
Country code property is located in
Currency code property uses
Timezone property is located in
object
object
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
Example
{ "property": { "identifier": "##default", "name": "##default", "city": "##default", "countryCode": "##default", "currencyCode": "##default", "timeZone": "##default" }, "list": [ { "singleOccupancyRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }, "extraPaxRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }, "extraChildRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" } } ]}Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}