Rivier/ Reference/ bookings

Set nightly prices for a rate plan and room type over a date range

post/lodging/rate-prices

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:admin
Mcp
rivier_lodging_rate_price_set
Sdk
bookings.ratePrice.create
Cli
bookings rate price create

Request bodyapplication/json, required

  • ratePlanIdstring (uuid)required
  • roomTypeIdstring (uuid)required
  • fromstring
    Pattern: ^\d{4}-\d{2}-\d{2}$.
  • tostring
    Pattern: ^\d{4}-\d{2}-\d{2}$.
  • seasonIdstring (uuid)
  • weekdayslist of integer
  • baseMinorintegerrequired
    At least 0. At most 9007199254740991.
  • extraAdultMinorinteger
    Default: 0. At least 0. At most 9007199254740991.
  • childMinorinteger
    Default: 0. At least 0. At most 9007199254740991.
  • occupancyMinorobject

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown