Inventory POST from Aiosell to 3rd Party

Inventory POST from Aiosell to 3rd Party

API Endpoint URL: BASE URL TO BE SHARED BY OTA


Purpose

This API allows Aiosell to communicate inventory updates, including availability and restrictions, to third-party OTAs (Online Travel Agencies). It ensures inventory consistency across platforms.


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

{

    "success": true,

    "message": "Inventory Updated Successfully"

}