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

XML inventory forwarding

Service-only forwarding adapter. callback.centra.global does not expose this path. The Bridge forwards raw XML to the configured agency platform; this is not an agency reservation callback.

Bridge service endpoint (not exposed by the callback gateway) #

POST/api/roominventory/update

Data direction: Configured inventory sender → Centra → Local Travel Agency platform

Authentication #

Centra query hr_id/token or XML username/token (password alias). Partner platform credentials are separate and arranged during onboarding.

Required and optional fields #

FieldRequirementMeaning
request root + credentialsRequired · XMLrequest or reservation root; property ID and token must resolve an active integration.
inventories.inventoryPartner contractIllustrative existing schema: room_id/date attributes; optional rate_id, price, allocation, stop_sale, min_stay, max_stay, cta, ctd. Bridge forwards the raw body; the partner validates payload fields.

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 /api/roominventory/update
Content-Type: application/xml

<?xml version="1.0"?>
<request>
  <username>SYNTHETIC-CRH-ID</username>
  <token>SYNTHETIC-NOT-A-VALID-TOKEN</token>
  <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"/>
  </inventories>
</request>

Success response #

Response · HTTP 200 xml
<?xml version="1.0" encoding="UTF-8"?>
<response>
  <status>0</status>
  <message>OK</message>
</response>

Errors and acknowledgement #

400 invalid envelope or forwarding failure; 401 invalid/missing token; 403 mismatch; 429 global rate-limit error (may be JSON). Partner payload validation is not enforced by the nominal Bridge inventory schema.

Error response example xml
<response>
  <status>1</status>
  <message>Invalid credentials</message>
</response>

Shared authentication and response handling