Rivier/ Reference/ bookings

Hold a time for the visitor; limited per visitor

post/public/bookings/holds

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:read
Graphql
Mutation.holdPublicBooking
Sdk
bookings.public.hold
Cli
bookings public hold
Publishable
yes

Request bodyapplication/json, required

  • serviceIdstring (uuid)required
  • startstring (date-time)required
  • durationMinutesinteger
    At least 5. At most 1440.
  • partySizeinteger
    Default: 1. At least 1. At most 10000.
  • resourceIdslist of string (uuid)
  • sessionIdstring (uuid)
  • quotestring
    At most 4000 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