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

Update inventory for a date range

Send availability, rates and restrictions as query parameters. A successful response acknowledges publishing, not completed downstream synchronization.

Bridge endpoint #

PUT/api/v2/apps/rooms/~

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.
room_code / inv_code / rate_codeAt least one · queryMapped room or rate identifier. Availability must resolve a room. For price/restrictions without rate_code, exactly one active mapped rate plan must exist.
start_date, end_dateRequired · queryReal YYYY-MM-DD dates; end_date ≥ start_date; maximum 366 inclusive days.
availability / price / stop_sale / cta / ctd / min_stay / max_stayAt least one · queryAvailability is a nonnegative integer; price is nonnegative; flags are 0 or 1; stay lengths are positive integers, max_stay ≥ min_stay. Omit fields you do not want to change.
days[], channel_codes[]Optional · queryRepeated weekday filters (Sunday=0) and targeted channel codes. Centra stores canonical inventory before 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/~?hr_id=SYNTHETIC-CRH-ID&token=SYNTHETIC-NOT-A-VALID-TOKEN&inv_code=HR%3ASYNTHETIC-ROOM&rate_code=HR%3ASYNTHETIC-RATE&start_date=2026-11-10&end_date=2026-11-11&availability=5&price=120.00

Success response #

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

Errors and acknowledgement #

400 invalid input or missing hr_id; 401 missing/invalid token; 403 credential/ID mismatch; 404 missing integration; 429 rate limit; 500 processing failure. Authentication errors use {status:1,message}; validation and processing errors may use other shapes—see the example and shared error guide.

Error response example json
{
  "status": 1,
  "message": "Invalid credentials"
}

Shared authentication and response handling