AllRatesResponse
Response object for the all rates
Session ID
hotel object
All rates for the requested hotel
Hotel ID
Landing URL for clients to redirect
rooms object[]
All rooms for the requested hotel
Room ID
Room name
rates object[]
All rates for the room
Rate ID
corporateCode objectnullable
The corporate code this rate was returned for. Null or absent for a public rate. Matches one of the codes sent in corporateCodes.
The hotel chain or brand the code was negotiated with, for example "hilton".
The negotiated corporate code itself, for example "HIL12345".
strikethroughPrice objectnullable
Original price before discount (tax exclusive), for strikethrough display. Only present when a discount is applied.
Original price amount before discount, excluding taxes
Currency code
nettPrice object
Nett price details
Nett price amount
Currency code
taxes object[]
List of taxes
Tax fee amount
Currency code of the tax amount
Tax name
Possible values: [Taxes and Fees]
additionalCharges object[]
List of additional charges the users need to pay at the hotel
Additional charges amount
Currency code of the additional charge amount
Additional charge name
Possible values: [VAT, City Tax, Destination Taxes, Resort Fees, Service Charges, Other Local Tax, Other Hotel Fee]
Free cancellation available
The meals that are included in the price of the hotel booking
Possible values: [All Inclusive, Full Board, Half Board, Breakfast, Room Only]
cancellationPolicy object[]
List of cancellation policies
Effective datetime of cancellation policy in UTC
End datetime of cancellation policy in UTC
Cancellation charges amount
Currency code of the cancellation charges amount
ratePerks object[]
List of perks associated with the rate
Standardized rate perk code
Possible values: [Airport_transfer_oneway, Airport_transfer_bothways, Welcome_drink, Free_room_upgrade, Late_check_out, Early_check_in, Club_lounge_access, Express_check_in, Free_minibar, Free_shuttle_service, Ferry_transfer_both_way, Ferry_transfer_one_way, Late_check_in, Free_entry_sandsskypark, Premium_Kaiseki_dinner, Free_roundtrip_airport_transfer, Upgrade_club_floor, Upgrade_business_floor, Complimentary_minibar, VIP_line_access_nightclub, Local_shuttle, Free_valet_parking, Free_hotel_parking, Free_airport_shuttle, Free_businesscenter_access, Free_airport_parking]
Payment type of the rate. PAY_AT_PROPERTY means payment is collected at the property. Omitted for regular prepaid rates (no change from existing behaviour). Only returned for partners opted in to Pay at Property rates — contact Wego to enable it.
Possible values: [PAY_AT_PROPERTY]
{
"sessionId": "20240722~1~r1a2c~~0HIWKUVEQkM1R~USD~lb~~US~F~D~DW~D~en-US~0~1~0~0~103.186.69.75~1721105921906~Yd_lK",
"hotel": {
"id": "258278",
"landingUrl": "https://www.wego.co.in/hotels/searches/goi/2024-07-24/2024-07-26/104921?guests=2&search_id=6e19cb14b19e7323",
"rooms": [
{
"id": "12739",
"roomName": "Family, 3 Twin",
"rates": [
{
"id": "qH7RcvY3seUFGBUL6pMUj8HbsrhwsA5i2MTE1wAQvSs=",
"corporateCode": {
"name": "hilton",
"code": "HIL12345"
},
"strikethroughPrice": {
"currency": "USD",
"amount": 155
},
"nettPrice": {
"currency": "USD",
"amount": 133.9
},
"taxes": [
{
"name": "Taxes and Fees",
"currency": "USD",
"amount": 13
}
],
"additionalCharges": [
{
"name": "Service Charges",
"currency": "USD",
"amount": 14
}
],
"boardBasis": "Breakfast",
"isFreeCancellation": false,
"cancellationPolicy": [
{
"from": "2024-08-06T00:00:00",
"to": "2024-08-08T00:00:00",
"amount": 50,
"currency": "USD"
}
],
"ratePerks": [
{
"code": "Late_check_out"
},
{
"code": "Free_room_upgrade"
}
],
"paymentType": "PAY_AT_PROPERTY"
}
]
},
{
"id": "12740",
"roomName": "Family, Suite",
"rates": [
{
"corporateCode": null,
"strikethroughPrice": null,
"nettPrice": {
"currency": "USD",
"amount": 180.9
},
"taxes": [
{
"name": "Taxes and Fees",
"currency": "USD",
"amount": 25
}
],
"additionalCharges": [
{
"name": "Service Charges",
"currency": "USD",
"amount": 20
}
],
"boardBasis": "Breakfast",
"isFreeCancellation": false,
"cancellationPolicy": [
{
"from": "2024-08-06T00:00:00",
"to": "2024-08-08T00:00:00",
"amount": 50,
"currency": "USD"
}
],
"ratePerks": [
{
"code": "Early_check_in"
}
]
}
]
}
]
}
}