Dummy Supplier Rate Revalidation API
Overview
Revalidates a supplier rateKey before proceeding to booking to confirm rate stability, tax accuracy, and current room availability.
- Endpoint:
/api/supplier/hotels/revalidate - Method:
POST/GET
Request Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
rateKey | String | Yes | Base64 encoded rate key from search response |
searchTraceId | String | No | Search trace ID |
Request Body Example
{
"rateKey": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"searchTraceId": "trc_sup_1725187200000_abc123"
}
Response Example (200 OK)
{
"success": true,
"data": {
"responseStatus": "SUCCESS",
"searchTraceId": "trc_sup_1725187200000_abc123",
"isPriceChanged": false,
"isAvailable": true,
"revalidatedRateKey": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"hotelName": "Grand Palace Resort & Spa",
"roomName": "Ocean Deluxe Suite",
"totalNetRate": 20160,
"currency": "INR"
},
"message": "Dummy Supplier rate revalidation completed"
}