API Endpoint URL:
https://live.aiosell.com/api/v2/cm/update-rates/sample-pms
Purpose
This API allows Property Management Systems (PMS) to push updated room rates and rate plans to Aiosell. It ensures real-time synchronization of pricing, enabling accurate rate distribution across OTAs and booking channels.
Request Format
Method: POST
Sample Payload:
{
"hotelCode": "SANDBOX-PMS",
"updates": [
{
"startDate": "2023-02-22",
"endDate": "2023-02-24",
"rates": [
{
"roomCode": "EXECUTIVE",
"rate": 1749.0,
"rateplanCode": "EXECUTIVE-S-101"
},
{
"roomCode": "EXECUTIVE",
"rate": 1849.0,
"rateplanCode": "EXECUTIVE-D-101"
},
{
"roomCode": "SUITE",
"rate": 2749.0,
"rateplanCode": "SUITE-S-101"
},
{
"roomCode": "SUITE",
"rate": 2849.0,
"rateplanCode": "SUITE-D-101"
}
]
}
]
}
Response
Sample Response:
{
"success": true,
"message": "Rates Updated Successfully"
}
Use Case
1. Dynamic Pricing: Updates room rates directly from the PMS, allowing hotels to adjust pricing based on demand, seasonality, or promotions.
2. Real-Time Rate Synchronization: Ensures consistent pricing across OTAs and booking platforms, preventing rate discrepancies.
3. Multiple Rate Plans: Supports multiple rate plans for the same room type, providing flexibility for promotions or different booking conditions.