Cancellations

Cancel

post/reservations/{id}/cancels

Request

  • Base URL
    https://api-dev.despegar.com/v3
  • URL
    https://api-dev.despegar.com/v3/reservations/{id}/cancels
  • Auth
    API key in header x-apikey

Path parameters

idstring required

Product identifier (product_id)

Request body

reason'FAMILY_OR_WORK_PROBLEM' | 'TRAVEL_ANOTHER_DESTINATION' | 'NATURAL_DISASTER' | 'WRONG_PURCHASE_DATA' | 'FOUND_BETTER_FLIGHT' | 'ILLNESS' | 'DEATH' | 'DUPLICATE_RESERVATION' | 'RESCHEDULED_FLIGHT' | 'CHANGE_PROBLEM' | 'CREDIT_CARD_PROBLEM' | 'RENTLER_PROBLEM' | 'OTHER' | 'HOTEL_PROBLEM'

Cancellation reason

Response

OK

flow_idstring

Unique identifier for this cancellation.

product_idstring

ID of the product for which cancellation was requested.

product_typestring

type of the product for which cancellation was requested.

related_products_cancellationsstring

Changes

No recorded changes to this operation across all 1 revision of this API.