Update Daily Rates
const url = 'https://integrations.wink.travel/api/channel-manager/property/property-1/master-rate/master-rate-1';const options = { method: 'PUT', headers: {'Wink-Version': '2.0', 'Content-Type': 'application/json'}, body: '{"startDate":"2026-04-15","endDate":"2026-04-15","amount":1,"currencyCode":"example","master":true,"closedOnArrival":true,"closedOnDeparture":true,"quantity":1,"minLengthOfStay":1,"maxLengthOfStay":1,"minOccupancy":1,"maxOccupancy":1,"singleOccupancyRateModifier":{"type":"FIXED","percent":"##default","fixedAmount":"##default"},"extraPaxRateModifier":{"type":"FIXED","percent":"##default","fixedAmount":"##default"},"extraChildRateModifier":{"type":"FIXED","percent":"##default","fixedAmount":"##default"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://integrations.wink.travel/api/channel-manager/property/property-1/master-rate/master-rate-1 \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "startDate": "2026-04-15", "endDate": "2026-04-15", "amount": 1, "currencyCode": "example", "master": true, "closedOnArrival": true, "closedOnDeparture": true, "quantity": 1, "minLengthOfStay": 1, "maxLengthOfStay": 1, "minOccupancy": 1, "maxOccupancy": 1, "singleOccupancyRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }, "extraPaxRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }, "extraChildRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" } }'Update daily rate / availability for a property / master rate combo.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Update rates owned by this propertyIdentifier
Example
property-1Update rates owned by this masterRateIdentifier
Example
master-rate-1Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”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
Example
0.25A 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
Example
0.25A 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
Example
0.25A localized amount
object
Responses
Section titled “ Responses ”OK
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
[ { "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
{}