Skip to content

Update daily rates

PUT
/api/managing-entity/{managingEntityIdentifier}/channel-manager/master-rate/{masterRateIdentifier}
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.

managingEntityIdentifier
required
string
""

Property identifier (UUID)

Example
e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18
masterRateIdentifier
required
string
""

Master rate identifier (UUID)

Example
5e8a3b7c-0d4f-4a2b-8c1d-9e6f2a0b4c73
Wink-Version
string
default: 2.0.0
Allowed values: 2.0
Media type application/json
object
startDate
required

Start date for rate update range (inclusive)

string format: date
""
Example
2026-02-15
endDate
required

End date for rate update range (inclusive)

string format: date
""
Example
2026-02-28
amount

Updated daily rate amount (optional; omit to preserve current amounts)

number
""
Example
450
currencyCode

Currency code for rate amount (optional; defaults to property currency)

string
""
Example
THB
master

Whether to update this as a master rate

boolean
Example
true
closedOnArrival

Whether to close the rate on arrival dates

boolean
Example
false
closedOnDeparture

Whether to close the rate on departure dates

boolean
Example
false
quantity

Available quantity/inventory for each date in range (optional)

integer format: int32
""
Example
5
minLengthOfStay

Minimum length of stay requirement in nights (optional)

integer format: int32
""
Example
2
maxLengthOfStay

Maximum length of stay limit in nights (optional)

integer format: int32
""
Example
30
minOccupancy

Minimum occupancy requirement (optional)

integer format: int32
""
Example
1
maxOccupancy

Maximum occupancy limit (optional)

integer format: int32
""
Example
4
singleOccupancyRateModifier

Single occupancy rate modifier (JSON representation of VariableCharge, optional)

object
type
required

When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.

string
""
Allowed values: FIXED PERCENTAGE
percent

A percentage of the total stay amount for an early check-in or late check-out

number format: float
""
Example
0.25
fixedAmount

A localized amount

object
amount
required
number
currency
required
string
>= 1 characters
Example
{
"type": "PERCENTAGE",
"value": "-10.00"
}
extraPaxRateModifier

Extra occupant rate modifier (JSON representation of VariableCharge, optional)

object
type
required

When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.

string
""
Allowed values: FIXED PERCENTAGE
percent

A percentage of the total stay amount for an early check-in or late check-out

number format: float
""
Example
0.25
fixedAmount

A localized amount

object
amount
required
number
currency
required
string
>= 1 characters
Example
{
"type": "FIXED_AMOUNT",
"value": "35.00"
}
extraChildRateModifier

Extra child rate modifier (JSON representation of VariableCharge, optional)

object
type
required

When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.

string
""
Allowed values: FIXED PERCENTAGE
percent

A percentage of the total stay amount for an early check-in or late check-out

number format: float
""
Example
0.25
fixedAmount

A localized amount

object
amount
required
number
currency
required
string
>= 1 characters
Example
{
"type": "PERCENTAGE",
"value": "-50.00"
}

OK

Media type application/json
Array<object>
object
identifier

Daily rate identifier

string format: uuid
""
propertyIdentifier
required

Property identifier

string format: uuid
"" >= 1 characters
roomRateIdentifier
required

Master rate identifier

string format: uuid
"" >= 1 characters
guestRoomIdentifier
required

Guest room (room type) identifier

string format: uuid
"" >= 1 characters
ratePlanIdentifier
required

Rate plan identifier

string format: uuid
"" >= 1 characters
amount
required

Daily rate amount

number
""
currencyCode
required

Currency code for rate amount

string
"" >= 1 characters
master
required

Whether this is a master (template) rate

boolean
closedOnArrival
required

Whether the rate is closed on arrival

boolean
closedOnDeparture
required

Whether the rate is closed on departure

boolean
date
required

Date for this daily rate

string format: date
""
quantity

Available quantity/inventory on this date

integer format: int32
""
minOccupancy

Minimum occupancy required for this date

integer format: int32
""
maxOccupancy

Maximum occupancy allowed for this date

integer format: int32
""
minLengthOfStay

Minimum length of stay (in nights) for this date

integer format: int32
""
maxLengthOfStay

Maximum length of stay (in nights) for this date

integer format: int32
""
singleOccupancyRateModifier

Single occupancy rate modifier (JSON representation of VariableCharge)

object
type
required

When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.

string
""
Allowed values: FIXED PERCENTAGE
percent

A percentage of the total stay amount for an early check-in or late check-out

number format: float
""
fixedAmount

A localized amount

object
amount
required
number
currency
required
string
>= 1 characters
extraPaxRateModifier

Extra occupant rate modifier (JSON representation of VariableCharge)

object
type
required

When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.

string
""
Allowed values: FIXED PERCENTAGE
percent

A percentage of the total stay amount for an early check-in or late check-out

number format: float
""
fixedAmount

A localized amount

object
amount
required
number
currency
required
string
>= 1 characters
extraChildRateModifier

Extra child rate modifier (JSON representation of VariableCharge)

object
type
required

When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.

string
""
Allowed values: FIXED PERCENTAGE
percent

A percentage of the total stay amount for an early check-in or late check-out

number format: float
""
fixedAmount

A localized amount

object
amount
required
number
currency
required
string
>= 1 characters
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
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}