Rivier/ Reference/ bookings

Write a guest message in one language, replacing the built-in words

put/lodging/message-templates

Write a guest message in one language, replacing the built-in words; braces such as {name} and {checkIn} are filled from the stay.

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:admin
Sdk
bookings.messageTemplate.save
Cli
bookings message template save

Request bodyapplication/json, required

  • propertyIdstring (uuid)required
  • kindstringrequired
    One of: pre_arrival, welcome, thanks, cancellation, checkin_info, review_request, payment_due.
  • localestringrequired
    One of: en, de, es, fr, ja, ar, sv, dv.
  • subjectstringrequired
    At most 200 characters.
  • bodystringrequired
    At most 6000 characters.

Responses

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