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'.
patch/rateplan/v1/rate-plans/{id}/rates
Path parameters
idstring required
The id of the rate plan.
Request body
Example request
{
"rates": [
{
"from": "2026-09-03",
"to": "2026-09-04",
"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 endpoint across all 2 revisions of this API.