Skip to main content

Content Services for Rail - Cancel

Rail
Reservation
REST API
Travel Agency
Try Now

What is it?

This method is used to cancel a given order with a status of "on hold", denoting it has not been paid for yet.

Why use it?

Use this method to cancel an order in Rail vendor systems, knowing it will not be paid or confirmed.

How it works

  1. Send a request to the Rail vendor system to cancel the entire order.
  2. Journeys and transport products are removed from the canceled order.

Notes

Canceled orders cannot be modified anymore.

Caution: Consuming this API and its content requires special permission. Before requesting access please make sure you have all the necessary agreements in place with the rail vendor(s) you would like to sell using Content Services for Rail. For more information on accessing Sabre Rail content and rail supplier contacts please visit the respective product page on Sabre Central.

Vendor Code Payment via API Notes
SNCF 2C No “On account” only. Direct settlement with agency. No individual or corporate credit cards.

How to use

Method

DELETE /v1/rail/orders/{marketingCarrierCode}/{orderId}

Request

Provide the orderId of an order to cancel and code of the marketing carrier.

Response

No data is returned upon success. To review the current status of an order, refer to the GET /v1/rail//orders/{marketingCarrierCode}/{orderId} method.