---
title: "Allows to patch the rates of multiple rate plans."
method: PATCH
path: "/rateplan/v1/rates"
tags: ["Rate"]
---

# Allows to patch the rates of multiple rate plans.

`PATCH /rateplan/v1/rates`

Note that the specified PATCH operations are applied to each and every rate for the specified time range.
Here is the list of operations that are currently allowed:
- Add, replace and remove Price
- Add, replace and remove Restrictions<br>You must have this scope: 'rates.manage'.

## Query parameters

- `ratePlanIds` string[], required
- `from` string, required
- `to` string, required
- `weekDays` string[]

## Request body

- Operation[]
  - `value` unknown
  - `path` string, nullable
  - `op` string, nullable
  - `from` string, nullable

## Response `204`

Rate plans were successfully modified.

## Other responses

- `400` — Bad request.
- `401` — You are unauthorized.
- `403` — Forbidden.
- `404` — No rates found to replace.
- `415` — Unsupported media type.
- `422` — Validation errors in the request body or query params.
- `499` — Client closed request.
- `500` — An unexpected error occurred.
- `503` — The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-rate-plan-api.md) · [All operations](https://skmtc.dev/apaleo/apis/apaleo-rate-plan-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apaleo/apaleo-rate-plan-api/revisions/876b6db65772/schema)
