Rivier/ Reference/ bookings

Add a service, fee or discount to the folio

post/lodging/reservations/{id}/charges

Add a service, fee or discount to the folio. Above the property's cap a person with approval rights is needed.

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:write
Mcp
rivier_lodging_charge_post
Graphql
Mutation.postFolioCharge
Sdk
bookings.folio.postCharge
Cli
bookings folio post charge

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • categorystringrequired
    One of: service, fee, discount.
  • descriptionstringrequired
    At most 160 characters.
  • quantityinteger
    Default: 1. At least 1. At most 1000.
  • unitAmountMinorintegerrequired
    At least -1000000000. At most 1000000000.
  • idempotencyKeystringrequired
    At most 120 characters.

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