Rivier/ Reference/ bookings

Bookings platform availability

post/bookings/availability/batch

Availability of up to 50 services across the platform's businesses in one call, with the platform's key and no business header: each item names a connection (business) and a service, and answers its slots or its own error. Needs no customer; cache the answer for seconds, not longer.

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:write
Graphql
Mutation.bookingsPlatformAvailability
Sdk
bookings.platform.availability
Cli
bookings platform availability

Request bodyapplication/json, required

  • itemslist of objectrequired
    • businessstring (uuid)required
    • serviceIdstring (uuid)required
    • durationMinutesinteger
      At least 5. At most 1440.
  • fromstring (date-time)required
  • tostring (date-time)required
  • partySizeinteger
    Default: 1. At least 1. At most 10000.

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