Update daily rates
const url = 'https://integrations.wink.travel/api/managing-entity/property-1/channel-manager/master-rate/master-rate-1';const options = { method: 'PUT', headers: { 'Wink-Version': '2.0', Authorization: 'Bearer <token>', '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":"","fixedAmount":""},"extraPaxRateModifier":{"type":"FIXED","percent":"","fixedAmount":""},"extraChildRateModifier":{"type":"FIXED","percent":"","fixedAmount":""}}'};
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/managing-entity/property-1/channel-manager/master-rate/master-rate-1 \ --header 'Authorization: Bearer <token>' \ --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": "", "fixedAmount": "" }, "extraPaxRateModifier": { "type": "FIXED", "percent": "", "fixedAmount": "" }, "extraChildRateModifier": { "type": "FIXED", "percent": "", "fixedAmount": "" } }'Bulk-updates daily price, availability and stay restrictions for the given property and master rate over a date range; amount is optional, so the call can adjust quantity alone, and currency defaults to the property’s currency when omitted.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Update rates owned by this managingEntityIdentifier
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": "", "fixedAmount": "" }, "extraPaxRateModifier": { "type": "FIXED", "percent": "", "fixedAmount": "" }, "extraChildRateModifier": { "type": "FIXED", "percent": "", "fixedAmount": "" } }]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
{}