RatePlan
Create a rate plan
Use this call to create a new rate plan. The rate plan will already contain empty rates, fill them later using PUT rates.<br>You must have at least one of these scopes: 'rateplans.create, setup.manage'.<br>For fine-grained clients, you must have this permission: 'core.rate_plans.create'.
post/rateplan/v0-nsfw/rate-plans
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/rateplan/v0-nsfw/rate-plans
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: rateplans.create, setup.manage, admin
Headers
Idempotency-Keystring
Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours.
Request body
Example request
{
"code": "NONREF",
"propertyId": "MUC",
"unitGroupId": "MUC-DBL",
"cancellationPolicyId": "MUC-FLE",
"channelCodes": [
"Direct",
"BookingCom",
"Ibe"
],
"promoCodes": [
"APA55100",
"DISCOUNT20"
],
"isSubjectToCityTax": true,
"isYieldable": true,
"timeSliceDefinitionId": "MUC-NIGHT",
"name": {
"de": "Nicht Stornierbar",
"en": "Non Refundable"
},
"description": {
"de": "Nicht Stornierbar",
"en": "Non Refundable"
},
"minGuaranteeType": "PM6Hold",
"priceCalculationMode": "Truncate",
"bookingPeriods": [
{
"from": "2026-10-02T14:55:37.641922+02:00",
"to": "2026-10-16T14:55:37.641922+02:00"
},
{
"from": "2026-10-19T14:55:37.641922+02:00",
"to": "2026-12-08T14:55:37.641922+02:00"
}
],
"restrictions": {
"minAdvance": {
"hours": 12,
"days": 180
},
"maxAdvance": {
"months": 24
}
},
"pricingRule": {
"baseRatePlanId": "MUC-NONREF-SGL",
"type": "Absolute",
"value": 20
},
"surcharges": [
{
"adults": 2,
"type": "Absolute",
"value": 10
}
],
"ageCategories": [
{
"id": "MUC-BABY",
"surcharges": [
{
"adults": 1,
"value": 20
}
]
}
],
"includedServices": [
{
"serviceId": "MUC-BRKF",
"grossPrice": {
"amount": 10,
"currency": "EUR"
}
}
],
"companies": [
{
"id": "MUC-APA",
"corporateCode": "APA-DBL"
}
],
"accountingConfigs": [
{
"state": "Unknown",
"vatType": "Normal",
"serviceType": "FoodAndBeverages",
"subAccountId": "ALCO",
"validFrom": "2021-01-01"
}
],
"marketSegmentId": "MUC-CORP"
}Response
Creation of the new rate plan was successful.
Example response
{
"id": "MUC-NONREF-DBL"
}Changes
No recorded changes to this operation across all 4 revisions of this API.