API reference
/Hotel
//
Verify hotel price
Checks if the previously selected hotel price has been modified. To indicate the change in hotel price, the priceChange field in the response will be set to true and the price object will contain the latest hotel price. If the price remains unchanged, the priceChange field will be set as false and the price object will contain the original price.
Security
Bearer
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/hotel/price-check
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/hotelapi/v2/hotel/price-check
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v2/hotel/price-check \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"priceValidateKey": "string",
"tripId": "string"
}'OK
Response
{ "bookingKey": "string", "timeout": 0, "priceChange": true, "price": { "base": { … }, "tax": { … }, "roomFees": [ … ], "commission": { … }, "taxBreakdown": [ … ], "includesCommission": false, "allowedFop": [ … ] }, "rateOption": { "bedInfos": [ … ], "priceValidateKey": "string", "description": "string", "rateInfo": { … }, "meals": { … }, "amenities": [ … ], "cancellationPolicy": { … }, "policyInfo": { … }, "guaranteeType": "GUARANTEE", "displayName": "string", "roomInfo": { … }, "rateGroupKey": "string", "additionalAmenities": [ … ], "isPrepaidRoom": true, "supportedCardTypes": [ … ], "numRoomsRequired": 0, "maxOccupancy": { … }, "isModifiable": true, "additionalDetails": [ … ], "earnLoyaltyPoints": true, "rewardPointsEarned": [ … ], "promotionalOffers": [ … ], "paymentDescription": [ … ], "isFopModifiable": true, "accessibilityInfo": [ … ], "supportedPaymentMethods": [ … ], "co2EmissionDetail": { … }, "checkoutApprovalInfo": { … } }, "supportedHotelSpecialRequests": { "groups": [ … ], "showOnlySupportedSpecialRequests": true } }