Add a rate plan, optionally derived from another
post/lodging/rate-plans
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Mcp
rivier_lodging_rate_plan_create- Sdk
bookings.ratePlan.create- Cli
bookings rate plan create
Request bodyapplication/json, required
- propertyIdstring (uuid)required
- codestringrequiredPattern: ^[A-Za-z0-9_-]{1,24}$.
- namestringrequiredAt most 120 characters.
- parentIdstring (uuid) or null
- adjustmentobject or null
- mealPlanstringOne of: room_only, breakfast, half_board, full_board, all_inclusive. Default: room_only.
- cancellationPolicyIdstring (uuid) or null
- depositobjectDefault: {"kind":"none"}.
- guaranteestringOne of: none, deposit, card, prepaid. Default: none.
- channelslist of stringDefault: ["direct"].
- kindstringOne of: standard, non_refundable, package, long_stay. Default: standard.
- contentobjectDefault: {}.
- includedExtraslist of string (uuid)Default: [].
- paymentSchedulelist of objectDefault: [].
- whenstringrequiredOne of: booking, days_before_arrival, arrival.
- daysintegerAt least 1. At most 365.
- percentnumberrequiredAt least 1. At most 100.
- whenstringrequired
- minNightsinteger or null
- maxNightsinteger or null
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring