# Bookings folio post nights

`POST /lodging/reservations/{id}/post-nights` · Rivier · bookings

Post the room charge of each night up to a date (the night audit does this once it exists).

- Scope: bookings:write
- Sdk: bookings.folio.postNights
- Cli: bookings folio post nights

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "through": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    }
  },
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/lodging/reservations/{id}/post-nights' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "through": "string"
}'
```
