Rates Restrictions POST from Aiosell to 3rd Party

Rates Restrictions POST from Aiosell to 3rd Party

API Endpoint URL: BASE URL TO BE SHARED BY OTA


Purpose

This API allows Aiosell to communicate restrictions to third-party OTAs.


Request Format |
Method: POST


Sample Payload:

{

    "hotelCode": "SANDBOX-OTA",

    "updates": [

        {

            "startDate": "2025-02-22",

            "endDate": "2025-02-24",

            "rates": [

                {

                    "roomCode": "EXECUTIVE",

                    "rateplanCode": "EXECUTIVE-S-101",

                    "restrictions": {

                        "stopSell": false,

                        "exactStayArrival": null,

                        "maximumStayArrival": null,

                        "minimumAdvanceReservation": null,

                        "minimumStay": 1,

                        "closeOnArrival": false,

                        "minimumStayArrival": null,

                        "maximumStay": null,

                        "maximumAdvanceReservation": null,

                        "closeOnDeparture": false

                    }

                },

                {

                    "roomCode": "EXECUTIVE",

                    "rateplanCode": "EXECUTIVE-D-101",

                    "restrictions": {

                        "stopSell": false,

                        "exactStayArrival": null,

                        "maximumStayArrival": null,

                        "minimumAdvanceReservation": null,

                        "minimumStay": 1,

                        "closeOnArrival": false,

                        "minimumStayArrival": null,

                        "maximumStay": null,

                        "maximumAdvanceReservation": null,

                        "closeOnDeparture": false

                    }

                },

                {

                    "roomCode": "SUITE",

                    "rateplanCode": "SUITE-S-101",

                    "restrictions": {

                        "stopSell": false,

                        "exactStayArrival": null,

                        "maximumStayArrival": null,

                        "minimumAdvanceReservation": null,

                        "minimumStay": 1,

                        "closeOnArrival": false,

                        "minimumStayArrival": null,

                        "maximumStay": null,

                        "maximumAdvanceReservation": null,

                        "closeOnDeparture": false

                    }

                },

                {

                    "roomCode": "SUITE",

                    "rateplanCode": "SUITE-D-101",

                    "restrictions": {

                        "stopSell": false,

                        "exactStayArrival": null,

                        "maximumStayArrival": null,

                        "minimumAdvanceReservation": null,

                        "minimumStay": 1,

                        "closeOnArrival": false,

                        "minimumStayArrival": null,

                        "maximumStay": null,

                        "maximumAdvanceReservation": null,

                        "closeOnDeparture": false

                    }

                }

            ]

        }

    ]

}


Response


Sample Response:

{

    "success": true,

    "message": "Rates Updated Successfully"

}


    • Related Articles

    • Inventory Restrictions POST from Aiosell to 3rd Party

      API Endpoint URL: BASE URL TO BE SHARED BY OTA Purpose: This API allows Aiosell to communicate inventory restrictions, to third-party OTAs (Online Travel Agencies). Request Format | Method: POST Sample Payload: { "hotelCode": "SANDBOX-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: ...
    • Rates Restrictions Push from PMS to Aiosell

      API Endpoint URL: https://live.aiosell.com/api/v2/cm/update-rates/sample-pms Purpose This API allows Property Management Systems (PMS) to push rate restrictions to Aiosell, ensuring that pricing rules and conditions are consistently applied across ...
    • 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. ...
    • Inventory Restrictions Push from PMS to Aiosell

      API Endpoint URL: https://live.aiosell.com/api/v2/cm/update/sample-pms Purpose This API allows Property Management Systems (PMS) to push room-specific restrictions to Aiosell. It ensures that restrictions like stop-sell, minimum stay, and ...