Rivier/ Reference/ bookings

A signed quote for a stay

post/lodging/quotes

A signed quote for a stay: nightly prices, VAT, city tax, deposit and cancellation terms, check-in and check-out in local time. Valid fifteen minutes; nothing is held.

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:read
Mcp
rivier_lodging_quote
Graphql
Query.lodgingQuote
Sdk
bookings.stay.quote
Cli
bookings stay quote

Request bodyapplication/json, required

  • propertyIdstring (uuid)required
  • roomTypeIdstring (uuid)required
  • ratePlanIdstring (uuid)required
  • arrivalstringrequired
    Pattern: ^\d{4}-\d{2}-\d{2}$.
  • departurestringrequired
    Pattern: ^\d{4}-\d{2}-\d{2}$.
  • adultsinteger
    Default: 2. At least 1. At most 20.
  • childreninteger
    Default: 0. At least 0. At most 20.
  • infantsinteger
    Default: 0. At least 0. At most 10.
  • promoCodestring
    At most 24 characters.
  • extraslist of object
    Default: [].
    • extraIdstring (uuid)required
    • quantityinteger
      Default: 1. At least 1. At most 50.

Responses

  • 200application/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