Rate

Allows to patch multiple rates of a single rate plan.

Note that the specified PATCH operations are applied to each and every rate for the specified time ranges. Here is the list of operations that are currently allowed:

  • Add, replace and remove Price
  • Add, replace and remove Restrictions Derived rate plans can only have restrictions patched. Requests that include price operations are rejected because prices are inherited from the base rate plan.<br>You must have this scope: 'rates.manage'.<br>For fine-grained clients, you must have this permission: 'core.rates.modify'.
patch/rateplan/v0-nsfw/rate-plans/{id}/rates

Request

  • Base URL
    https://api.apaleo.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.apaleo.com/rateplan/v0-nsfw/rate-plans/{id}/rates
  • Auth
    OAuth 2
    Implicit: https://identity.apaleo.com/connect/authorize
    Scopes: rates.manage, admin

Path parameters

idstring required

The id of the rate plan.

Request body

Example request

{
  "rates": [
    {
      "from": "2026-10-09",
      "to": "2026-10-10",
      "weekDays": [
        "Monday",
        "Wednesday"
      ],
      "operations": [
        {
          "value": {
            "amount": 25,
            "currency": "EUR"
          },
          "path": "/price",
          "op": "replace"
        },
        {
          "value": true,
          "path": "restrictions/closedOnArrival",
          "op": "replace"
        }
      ]
    }
  ]
}

Response

Replace the rates was successful.

Changes

No recorded changes to this operation across all 4 revisions of this API.