Skip to main content

Content Services for Rail - Read

1.0.21
Rail
Reservation
REST API
Travel Agency
Try Now

What is it?

This method returns order details.

Why use it?

Use this method to review the full details of an order.

How it works

  1. Send a request to the Rail vendor system to get an order by orderId.\ Note: The request can be sent at any time to get the most current details of the order.
  2. All order details are returned in a structured format, including the following information:\ Note: This information is grouped under one or more order items corresponding to the booked products.
    • Passengers
    • Journeys
    • Price
    • Transport products
    • Seats reservation information
    • Delivery methods
    • on hold status time limits
    • Tickets
    • Payments
    • Vendor reservation references
    • Rail cards
    • Refund options
    • Exchange options

Depending on the order's status, some elements may be present, while others may not.\ Example:

  • For a canceled order, most of the elements are empty.
  • For an on hold order, the ticket and payment elements are empty.
  • For a confirmed order, all elements would be present, except for an on hold time limit.

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

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

Request

Provide an orderId and marketing carrier code.

Response

Returns the full order's information.