OTA_CancelRQ API call
Skip & Hit the Playground.
Purpose
- Cancel a confirmed reservation (
CancelType="Commit"). - Request a penalty quote without cancelling (
CancelType="Quote"). - Target the booking by either the client reference or Axis Data internal reference (
UniqueID/@IDwithID_Context="Client"orID_Context="Internal").
Structure - Root Element
Version: e.g., “2008.1”.CancelType: “Commit” | “Quote” (required).xmlns: “http://www.opentravel.org/OTA/2003/05”.
Structure - Core Elements
POS (Point of Sale)
Identifies the requesting party and contains credentials.UniqueID
Required. Specifies the booking or component to be cancelled or quoted.ID(required): booking reference number (client or Axis Data internal).ID_Context: “Client” or “Internal”.Type: “36”.
Partial Cancellation
Add the component, not the whole booking.ID(required): booking reference number (client or Axis Data internal).ID_Context: “Client” or “Internal”.Type: “37”.
Behavior & Rules
CancelType="Commit"performs the cancellation if allowed.CancelType="Quote"returns penalty information; no cancellation performed.- Partial cancellation: If you include a child item reference, only indicated item will be cancelled. If this removes the last valid item, the entire booking will be cancelled.
- Response heads-up:
OTA_CancelRSwill returnStatus="Committed"after a successful cancel, orStatus="Pending"for quotes, and may includeCancelRule@CancelByDateindicating the timestamp the cancel was registered.
Complete Examples
Best Practices
- Use the correct booking reference and matching
ID_Contextto avoid cancelling the wrong booking. - Prefer
CancelType="Quote"beforeCommitto surface penalties and cutoffs to the user. - Keep credentials in
POS/Source/RequestorIDaligned with your test/production environment.
Playground
OTA_CancelRQ API call
Try our API playground in real time.

