Rivier/ Reference/ bookings

Book all the rooms of a group for the same nights, all or none

post/lodging/groups/{id}/rooms

Book all the rooms of a group for the same nights, all or none; each room is checked before the first is made.

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:write
Mcp
rivier_lodging_group_book
Sdk
bookings.group.book
Cli
bookings group book
Events
bookings.reservation.created

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

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

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