v1

latestOpenAPI 3.0.32026-07-1723012.8 KB

Get LOS Pricing

post/api/rate/fplos/search

Request body

propertyIdinteger required

Valid Agoda Property ID that partner has access to

roomIdinteger required

Agoda Room ID related to the property inventory element. <br/> <i>Agoda active Room IDs can be returned with Getproduct request.</i>

ratePlanIdinteger required

Agoda Rateplan ID related to a particular offer active on a room. <br/> Agoda active Rate Type IDs can be returned with Getproduct request.

Example request

{
  "propertyId": 123,
  "roomId": 12301,
  "checkInDateRange": {
    "start": "2021-12-10",
    "end": "2021-12-31"
  },
  "los": {
    "start": 1,
    "end": 10
  }
}

Response

Create response

propertyIdinteger

Valid Agoda Property ID that partner has access to

roomIdinteger

Agoda Room ID related to the property inventory element. <br/> <i>Agoda active Room IDs can be returned with Getproduct request.</i>

ratePlanIdinteger

Agoda Rateplan ID related to a particular offer active on a room. <br/> Agoda active Rate Type IDs can be returned with Getproduct request.

Example response

{
  "propertyId": 123,
  "roomId": 12301,
  "rates": [
    {
      "checkInDate": "2022-03-02",
      "rate": {
        "currency": "USD",
        "prices": [
          {
            "los": 1,
            "value": 123.45
          }
        ]
      },
      "restriction": {
        "losRestriction": "1110111101"
      }
    }
  ]
}