Update daily rates
const url = 'https://integrations.wink.travel/api/managing-entity/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/channel-manager/master-rate/5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73';const options = { method: 'PUT', headers: { 'Wink-Version': '2.0', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"startDate":"","endDate":"","amount":"","currencyCode":"","master":false,"closedOnArrival":false,"closedOnDeparture":false,"quantity":"","minLengthOfStay":"","maxLengthOfStay":"","minOccupancy":"","maxOccupancy":"","singleOccupancyRateModifier":"","extraPaxRateModifier":"","extraChildRateModifier":""}'};
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/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/channel-manager/master-rate/5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "startDate": "", "endDate": "", "amount": "", "currencyCode": "", "master": false, "closedOnArrival": false, "closedOnDeparture": false, "quantity": "", "minLengthOfStay": "", "maxLengthOfStay": "", "minOccupancy": "", "maxOccupancy": "", "singleOccupancyRateModifier": "", "extraPaxRateModifier": "", "extraChildRateModifier": "" }'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 ”Property identifier (UUID)
Example
e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18Master rate identifier (UUID)
Example
5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”object
Start date for rate update range (inclusive)
Example
2026-02-15End date for rate update range (inclusive)
Example
2026-02-28Updated daily rate amount (optional; omit to preserve current amounts)
Example
450Currency code for rate amount (optional; defaults to property currency)
Example
THBWhether to update this as a master rate
Example
trueWhether to close the rate on arrival dates
Example
falseWhether to close the rate on departure dates
Example
falseAvailable quantity/inventory for each date in range (optional)
Example
5Minimum length of stay requirement in nights (optional)
Example
2Maximum length of stay limit in nights (optional)
Example
30Minimum occupancy requirement (optional)
Example
1Maximum occupancy limit (optional)
Example
4Single occupancy rate modifier (JSON representation of VariableCharge, optional)
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
Example
{ "type": "PERCENTAGE", "value": "-10.00"}Extra occupant rate modifier (JSON representation of VariableCharge, optional)
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
Example
{ "type": "FIXED_AMOUNT", "value": "35.00"}Extra child rate modifier (JSON representation of VariableCharge, optional)
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
Example
{ "type": "PERCENTAGE", "value": "-50.00"}Responses
Section titled “ Responses ”OK
object
Daily rate identifier
Property identifier
Master rate identifier
Guest room (room type) identifier
Rate plan identifier
Daily rate amount
Currency code for rate amount
Whether this is a master (template) rate
Whether the rate is closed on arrival
Whether the rate is closed on departure
Date for this daily rate
Available quantity/inventory on this date
Minimum occupancy required for this date
Maximum occupancy allowed for this date
Minimum length of stay (in nights) for this date
Maximum length of stay (in nights) for this date
Single occupancy rate modifier (JSON representation of VariableCharge)
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
Extra occupant rate modifier (JSON representation of VariableCharge)
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
Extra child rate modifier (JSON representation of VariableCharge)
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
[ { "identifier": "", "propertyIdentifier": "", "roomRateIdentifier": "", "guestRoomIdentifier": "", "ratePlanIdentifier": "", "amount": "", "currencyCode": "", "master": false, "closedOnArrival": false, "closedOnDeparture": false, "date": "", "quantity": "", "minOccupancy": "", "maxOccupancy": "", "minLengthOfStay": "", "maxLengthOfStay": "", "singleOccupancyRateModifier": "", "extraPaxRateModifier": "", "extraChildRateModifier": "" }]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
{}