v1

latestOpenAPI 3.0.32026-07-1723012.8 KB

Set or Update LOS Pricing

post/api/rate/fplos

Request body

propertyIdinteger required

Valid Agoda Property ID that partner has access to

currencystring required

Rate plan's rate currency (must be the same currency as set up in property level)

Example request

{
  "propertyId": 123,
  "currency": "USD",
  "offers": [
    {
      "roomId": 12301,
      "rates": [
        {
          "checkIn": {
            "start": "2021-12-10",
            "end": "2021-12-31"
          }
        }
      ],
      "restrictions": [
        {
          "startDate": "2022-03-02",
          "endDate": "2022-03-02",
          "losRestriction": "1110111101"
        }
      ]
    }
  ]
}

Response

Price Rule already setted up

statusstring

Response status

tuidstring

A Track Unique Identifier (TUID) is an identifier which is guaranteed to be unique and it has a specific tracking purpose.

Example response

{
  "status": "SUCCESS",
  "tuid": "49ecd740-34c9-11e9-bef4-137e7754803f"
}
All 2 operations