API Endpoint URL:
https://live.aiosell.com/api/v2/cm/update/sample-pms
Purpose
This API is designed to allow Property Management Systems (PMS) to push updated room inventory data to Aiosell Channel Manager. This ensures accurate availability across distribution channels like Booking.com, Expedia, Agoda, MakeMyTrip etc., preventing overbookings and maintaining up-to-date inventory records.
Request Format
Method: POST
Sample Payload:
{
"hotelCode": "SANDBOX-PMS",
"updates": [
{
"startDate": "2023-01-24",
"endDate": "2023-01-26",
"rooms": [
{
"available": 3,
"roomCode": "SUITE"
},
{
"available": 20,
"roomCode": "EXECUTIVE"
}
]
}
]
}
Response
Sample Response:
{
"success": true,
"message": "Inventory Updated Successfully"
}
Use Case
1. Real-time Inventory Updates: Ensures that Aiosell reflects the latest room availability data from the PMS.
2. Channel Synchronization: Facilitates consistent inventory across multiple booking platforms by syncing availability.
3. Prevent Overbooking: By keeping inventory up to date, the API helps avoid discrepancies between the PMS and online distribution channels.