Centra/Docs
Browse documentation
PMS
Integration base URL bridge.centra.global

Update daily inventory

Batch availability, rates and restrictions by room and date. Always inspect status and parse errors as JSON; HTTP 200 can carry validation or partial failure.

Bridge endpoint #

PUT/api/v2/apps/rooms/daily

Data direction: PMS → Centra Bridge

Authentication #

Query credentials: hr_id and token. X-Bridge-Token is not supported by this middleware.

Required and optional fields #

FieldRequirementMeaning
hr_idRequired · queryYour Centra-issued CRH ID. Keep the HotelRunner wire name hr_id.
tokenRequired · queryYour Centra-issued token. URL-encode credentials and redact request URLs from logs.
roomsRequired · JSONNonempty array; each entry supplies inv_code or rate_code.
rooms[].datesRequired · JSON1–90 unique daily dates per room; each date is a real YYYY-MM-DD date.
rooms[].dates[].ARI fieldsAt least one · JSONavailability, price, min_stay, max_stay, stop_sale, cta or ctd. Numeric strings/numbers accepted. Flags accept 0/1, true/false and their strings. Null/blank optional values are omitted.
rooms[].channel_codesOptional · JSONArray of nonblank channel codes for targeted fan-out.

Synthetic request #

All identifiers, tokens and guest details below are invented. These samples are reference text; the docs never send API requests.

Request http
PUT /api/v2/apps/rooms/daily?hr_id=SYNTHETIC-CRH-ID&token=SYNTHETIC-NOT-A-VALID-TOKEN
Content-Type: application/json

{
  "rooms": [
    {
      "inv_code": "HR:SYNTHETIC-ROOM",
      "rate_code": "HR:SYNTHETIC-RATE",
      "dates": [
        {
          "date": "2026-11-10",
          "availability": 5,
          "price": "120.00",
          "stop_sale": 0
        }
      ]
    }
  ]
}

Success response #

Response · HTTP 200 json
{
  "status": "ok",
  "transaction_id": "txn_synthetic_001",
  "errors": "[]"
}

Errors and acknowledgement #

HTTP 200 can contain status try_again and a JSON-encoded errors string for room/date failures. Authentication failures remain 400/401/403; missing mappings/integration, publish failures and rate limits also require inspection. Never infer full success from HTTP status alone.

Error response example json
{
  "status": "try_again",
  "transaction_id": "txn_synthetic_001",
  "errors": "[{\"HR:SYNTHETIC-ROOM\":{\"2026-11-10\":\"Invalid price\"}}]"
}

Shared authentication and response handling