Skip to main content

Content Services Rail Cancel

1.0.1
Rail
Reservation
REST API
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.

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.