PMS
Integration base URL
bridge.centra.globalChange 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/fireData direction: PMS → Centra Bridge
Authentication #
Query credentials: hr_id and token. X-Bridge-Token is not supported by this middleware.
Required and optional fields #
| Field | Requirement | Meaning |
|---|---|---|
hr_id | Required · query | Your Centra-issued CRH ID. Keep the HotelRunner wire name hr_id. |
token | Required · query | Your Centra-issued token. URL-encode credentials and redact request URLs from logs. |
hr_number | Required · query | Reservation identifier. |
event | Required · query | confirm or cancel. |
cancel_reason | Required for cancel · query | customer, 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=customerSuccess 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"
}