---
title: "Allows to patch one or more rate plans"
method: PATCH
path: "/rateplan/v0-nsfw/rate-plans"
tags: ["RatePlan"]
---

# Allows to patch one or more rate plans

`PATCH /rateplan/v0-nsfw/rate-plans`

## 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`
- Auth: OAuth 2
  - Implicit: `https://identity.apaleo.com/connect/authorize`
  - Scopes: `setup.manage`, `admin`

Here is the list of operations that are currently allowed:
- Replace Name
- Replace Description
- Replace MinGuaranteeType
- Replace PriceCalculationMode
- Replace CancellationPolicy
- Replace NoShowPolicy
- Replace ChannelCodes
- Replace Companies
- Add, replace and remove PromoCode
- Add, replace and remove Restrictions
- Add, replace and remove BookingPeriods
- Add, replace and remove IsSubjectToCityTax
- Add, replace and remove PricingRule
- Add, replace and remove Surcharges
- Add, replace and remove AgeCategories
- Add, replace and remove IncludedServices
- Add/Replace/Remove/Update AccountingConfigs
- Add, replace and remove MarketSegment/Id<br>You must have this scope: 'setup.manage'.<br>For fine-grained clients, you must have this permission: 'core.rate_plans.modify'.

## Query parameters

- `ratePlanIds` string[], required

## 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`: The Request-URI could not be found.
- `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-not-safe-for-work.md) - [All operations](https://skmtc.dev/apaleo/apis/apaleo-rate-plan-api-not-safe-for-work/llms.txt) - [OpenAPI document](https://skmtc.dev/apaleo/apis/apaleo-rate-plan-api-not-safe-for-work/revisions/97dec9512a17?raw)
