Trip PNRs

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

  • Base URL
    https://api-ext-sboxmeta.partners.spotnana.com
  • Auth
    HTTP bearer

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

Changes

    • info

      the request property ///// became optional

    • info

      added the new DELAYED_PAYMENT enum value to the request property ////////

    • info

      added the new DELAYED_PAYMENT enum value to the request property ////////

    • info

      added the new DELAYED_PAYMENT enum value to the request property //////////

    • info

      added the new DELAYED_PAYMENT enum value to the request property ///////////

    • info

      added the new DELAYED_PAYMENT enum value to the request property /////

    • info

      the request optional property //////// became not read-only