Rivier/ Reference/ bookings

Bookings public stay schema org

get/public/lodging/schema-org

schema.org markup for a property and its published room types (type from the kind of property, address, coordinates, star rating, check-in times, languages, amenities with hours, rooms with beds and size), ready to place on a page.

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:read
Graphql
Query.publicLodgingSchemaOrg
Sdk
bookings.publicStay.schemaOrg
Cli
bookings public stay schema org
Publishable
yes

Parameters

  • propertyIdstring (uuid)required
    In the query
  • localestring
    In the query
  • urlstring
    In the query
  • mapUrlstring
    In the query

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