Skip to content

updateRate

POST
/api/services/travelclick/secured/update/rate
curl --request POST \
--url https://integrations.wink.travel/api/services/travelclick/secured/update/rate \
--header 'Content-Type: application/xml' \
--data '{
"timestamp": "2026-04-15T12:00:00Z",
"version": "example",
"echoToken": "example",
"ratePlans": {
"ratePlan": [
{
"roomTypeID": "example",
"roomType": "example",
"rateTypeID": "example",
"rateType": "example",
"fromDate": "2026-04-15",
"toDate": "2026-04-15",
"minNight": 1,
"stopSell": 1,
"coa": 1,
"cod": 1
}
]
}
}'
Media type application/xml
object
timestamp
string format: date-time
version
string
echoToken
string
ratePlans
object
ratePlan
required
Array<object>
object
roomTypeID
required
string
roomType
string
rateTypeID
required
string
rateType
string
fromDate
string format: date
toDate
string format: date
minNight
integer format: int32
stopSell
integer format: int32
coa
integer format: int32
cod
integer format: int32

OK

Media type application/xml
object
timestamp
string format: date-time
version
string
success
object
successMsg
required
string
errors
object
errorCode
required
string
errorMessage
required
string
echoToken
string

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
{}