Skip Navigation

Content Services for Rail - Exchange Confirm

Rail
Ticketing
REST API
Travel Agency

What is it?

The exchange process consists of 3 steps:

1. Exchange offers search
2. Exchange estimate
3. Exchange confirm

This method is the third step in the exchange process. It confirms the exchange in the rail vendor system by passing a selected exchangeContractOption, which was returned in the exchange estimate step.

Why use it?

Use this method to confirm the exchange operation in the rail vendor system. If a traveler wants to change an original journey’s date and time or the assigned fare, it allows the exchange of a selected part of an order to a new offer.

How it works

  1. Send a request to the rail vendor system to confirm an exchange contract by orderId, exchangeContractId and CONFIRMED status in transactionContractStatus.
    The payment criteria field is also required.
    Note: Each exchange contract can be successfully confirmed only once.
  2. The API returns an empty response with a status of 204 upon success.

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

PATCH /v1/rail/orders/{marketingCarrierCode}/{orderId}/exchangeContracts/{exchangeContractId}

Request

Provide an orderId, marketingCarrierCode, and exchangeContractId with CONFIRMED status transactionContractStatus in the request. Additionally, the paymentCriteria element is required.

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.