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

Change reservation state

Request a confirm or cancel event. Available transitions depend on the current reservation; status error can be returned with HTTP 200.

Bridge endpoint #

PUT/api/v2/apps/reservations/fire

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.
hr_numberRequired · queryReservation identifier.
eventRequired · queryconfirm or cancel.
cancel_reasonRequired for cancel · querycustomer, no_room, no_show or invalid_price.

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/reservations/fire?hr_id=SYNTHETIC-CRH-ID&token=SYNTHETIC-NOT-A-VALID-TOKEN&hr_number=SYNTHETIC-RES-001&event=cancel&cancel_reason=customer

Success response #

Response · HTTP 200 json
{
  "status": "ok"
}

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": "error",
  "message": "state_change_is_not_available"
}

Shared authentication and response handling