Inventory Restrictions POST from Aiosell to 3rd Party

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

    "updates": [

        {

            "startDate": "2025-01-24",

            "endDate": "2025-01-26",

            "rooms": [

                {

                    "available": 3,

                    "roomCode": "SUITE",

                    "restrictions": {

                        "stopSell": false,

                        "exactStayArrival": null,

                        "maximumStayArrival": null,

                        "minimumAdvanceReservation": null,

                        "minimumStay": 1,

                        "closeOnArrival": false,

                        "minimumStayArrival": null,

                        "maximumStay": null,

                        "maximumAdvanceReservation": null,

                        "closeOnDeparture": false

                    }

                },

                {

                    "available": 20,

                    "roomCode": "EXECUTIVE",

                    "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": "Inventory Updated Successfully"

}

    • Related Articles

    • 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. ...
    • 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", ...
    • 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 ...
    • 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: ...
    • Reservation POST from Aiosell to PMS

      New Reservation (Aiosell to PMS) API Endpoint URL: https://sample-pms.com/update_reservation *Note: This is a sample url for reference purpose, 3rd Party/ PMS will need to create an END POINT / WEBHOOK and share it with Aiosell team* Purpose: This ...