Set LOS Rates

1. SetLOS EndPoint

2. SetLOS Request

{

  "propertyId": 22002533,

  "currency": "THB",

  "offers": [

    {

      "roomId": 301635498,

      "ratePlanId": 8748146,

      "rates": [

        {

          "checkIn": {

            "start": "2023-02-17",

            "end": "2023-04-01"

          },

          "occupancyPrices": [

            {

              "occupancy": {

                "min": 1,

                "max": 1

              },

              "prices": [

                {

                  "los": 3,

                  "value": 660.00

                },

                {

                  "los": 8,

                  "value": 880.00

                },

                {

                  "los": 9,

                  "value": 990.00

                }

              ]

            },

            {

              "occupancy": {

                "min": 1,

                "max": 2

              },

              "prices": [

                {

                  "los": 2,

                  "value": 550.00

                }

              ]

            },

            {

              "occupancy": {

                "min": 2,

                "max": 2

              },

              "prices": [

                {

                  "los": 3,

                  "value": 500.00

                }

              ]

            }

          ]

        }

      ],

      "restrictions": [

        {

          "startDate": "2023-02-17",

          "endDate": "2023-04-01",

          "closed": false,

          "cta": false,

          "ctd": false,

          "minStay": 1,

          "maxStay": 30,

          "minStayThrough": 2,

          "minAdvPurchase": 1,

          "maxAdvPurchase": 365,

          "losRestriction": null

        }

      ]

    }

  ]

}

3. SetLOS Response

{

  "status": "SUCCESS",

  "tuid": "2662e83d-f5e3-11ec-8cb0-110d00d3b8b4"

}

4. SetLOS Error Codes