Centra/Docs
Browse documentation
Local Travel Agencies
Integration base URL callback.centra.global

Receive custom ARI inventory

Source contract for the custom ARI worker: Centra posts XML to your platform base URL plus /roominventory/update. The team confirms the selected flow; this example does not establish verified live delivery.

Receiving-platform endpoint #

POST/roominventory/update

Data direction: Centra → Local Travel Agency platform

Authentication #

Dedicated platform username/password in XML. These partner credentials are separate from the Centra CRH ID and Token.

Required and optional fields #

FieldRequirementMeaning
username, passwordRequired · XMLDedicated receiving-platform credentials, supplied securely during setup.
hotel_id, start_date, end_date, currencyXML envelopeConfigured hotel identifier, inclusive bounds of the inventory dates and sales currency.
inventories.inventoryNonempty · XMLroom_id and date attributes; rate_id when present. Available update fields: price, allocation, stop_sale, min_stay, cta and ctd. Omitted attributes are not supplied by this flow.

Synthetic request #

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

Request http
POST https://agency.example.invalid/roominventory/update
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8"?>
<request>
  <username>SYNTHETIC-PLATFORM-USER</username>
  <password>SYNTHETIC-NOT-A-VALID-PASSWORD</password>
  <hotel_id>SYNTHETIC-PLATFORM-HOTEL</hotel_id>
  <start_date>2026-11-10</start_date><end_date>2026-11-10</end_date>
  <currency>EUR</currency>
  <inventories><inventory room_id="SYNTHETIC-ROOM" rate_id="SYNTHETIC-RATE" date="2026-11-10" price="120.00" allocation="5" stop_sale="0" min_stay="1" cta="0" ctd="0"/></inventories>
</request>

Success response #

Response · HTTP 200 xml
<response><status>0</status><message>OK</message></response>

Errors and acknowledgement #

The current custom ARI worker treats an XML status beginning with a minus sign as rejection; malformed XML or a missing/nonnegative status is not rejected by its response validator. Use the agreed explicit acknowledgement contract rather than relying on permissive parsing. Receiving-platform HTTP errors also fail delivery. The deprecated LTA worker appends /api/roominventory/update; the Bridge direct client uses /api/inventory/update. These are separate flows, not aliases.

Error response example xml
<response><status>-1</status><message>Synthetic rejection</message></response>

Shared authentication and response handling