Update daily rates
const url = 'https://integrations.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/channel-manager/property/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/master-rate/5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73';const options = { method: 'PUT', headers: { 'Wink-Version': '2.0', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: 'null'};
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/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/channel-manager/property/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/master-rate/5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data nullBulk-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 ”Rate provider (channel-manager account) identifier (UUID)
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Property 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 ”Request body for bulk-updating daily rates and availability for a master rate over a date range
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.
Example
PERCENTAGEA percentage of the total stay amount for an early check-in or late check-out
Example
0.25A localized amount
object
Monetary amount value
Example
1250ISO 4217 currency code
Example
USDExample
{ "amount": 1250, "currency": "USD"}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.
Example
PERCENTAGEA percentage of the total stay amount for an early check-in or late check-out
Example
0.25A localized amount
object
Monetary amount value
Example
1250ISO 4217 currency code
Example
USDExample
{ "amount": 1250, "currency": "USD"}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.
Example
PERCENTAGEA percentage of the total stay amount for an early check-in or late check-out
Example
0.25A localized amount
object
Monetary amount value
Example
1250ISO 4217 currency code
Example
USDExample
{ "amount": 1250, "currency": "USD"}Example
{ "type": "PERCENTAGE", "value": "-50.00"}Example
{ "startDate": "2026-02-15", "endDate": "2026-02-28", "amount": 450, "currencyCode": "THB", "master": true, "closedOnArrival": false, "closedOnDeparture": false, "quantity": 5, "minLengthOfStay": 2, "maxLengthOfStay": 30, "minOccupancy": 1, "maxOccupancy": 4, "singleOccupancyRateModifier": { "type": "PERCENTAGE", "value": "-10.00" }, "extraPaxRateModifier": { "type": "FIXED_AMOUNT", "value": "35.00" }, "extraChildRateModifier": { "type": "PERCENTAGE", "value": "-50.00" }}Responses
Section titled “ Responses ”Updated daily rates for every date in the requested range
A single daily rate entry for a master rate, including availability, stay restrictions, and optional occupancy modifiers
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
Monetary amount value
ISO 4217 currency code
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
Monetary amount value
ISO 4217 currency code
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
Monetary amount value
ISO 4217 currency code
Example
[ { "identifier": "5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73", "propertyIdentifier": "e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18", "roomRateIdentifier": "5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73", "guestRoomIdentifier": "6f9b4c8d-1e5a-4b3c-9d2e-8a7f0c1b5e43", "ratePlanIdentifier": "7a0c5d9e-2f6b-4c1a-8e4d-3b9f1a0c6d52", "amount": 450, "currencyCode": "THB", "master": true, "closedOnArrival": false, "closedOnDeparture": false, "date": "2026-02-15", "quantity": 5, "minOccupancy": 1, "maxOccupancy": 4, "minLengthOfStay": 2, "maxLengthOfStay": 30 }]Bad Request — missing or invalid request parameter or body
object
object
Example
Unauthorized — authentication is required or the session has expired
object
object
Example
Forbidden — authenticated but lacking the required permission or scope
object
object
Example
Not Found — the requested resource does not exist
object
object
Example
Method Not Allowed — the HTTP verb is not supported on this endpoint
object
object
Example
Unsupported Media Type — use application/json
object
object
Example
Internal Server Error — an unexpected failure occurred on the server
object
object
Example
Service Unavailable — a downstream dependency is unreachable