v1

latestOpenAPI 3.1.02026-08-0630894634.3 KB
Trip PNRs

Cancel PNR

This endpoint cancels PNR or part of PNR object.In case of partial PNR cancel we can cancel journey/ticket.

post/v3/trips/{tripId}/pnrs/{pnrId}/cancel

Request body

cancellationType'NO_REFUND' | 'FULL_REFUND' | 'PARTIAL_REFUND' | 'FULL_CREDIT'

Type of cancellation to be performed. For the NO_REFUND, FULL_REFUND and FULL_CREDIT cancellation types, if no cancellationDetails are provided, we assume the entire PNR is being canceled. If the cancellation type is FULL_CREDIT, we will also assume the credits created will have 0 penalty and an expiry date of 1 year from the issue date of the ticket.

Response

OK