Rate POST from Aiosell to 3rd Party / OTA

Rate POST from Aiosell to 3rd Party / OTA

API ENDPOINT URL: TO BE SHARED BY OTA


Purpose

This API allows Aiosell to communicate updated room rates and restrictions to third-party OTAs (Online Travel Agencies). It ensures consistency in pricing across all platforms.


Request Format | Method: POST


Sample Payload:

{

    "hotelCode": "SANDBOX-OTA",

    "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"

}