---
title: "Cancel"
method: POST
path: "/reservations/{id}/cancels"
tags: ["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

- `id` string, required

## Request body

- object
  - `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 `200`

OK

- object
  - `flow_id` string: Unique identifier for this cancellation.
  - `product_id` string: ID of the product for which cancellation was requested.
  - `product_type` string: type of the product for which cancellation was requested.
  - `related_products_cancellations` string

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/despegar/apis/aftersale.md) - [All operations](https://skmtc.dev/despegar/apis/aftersale/llms.txt) - [OpenAPI document](https://skmtc.dev/despegar/apis/aftersale/revisions/686d705e3aa8?raw)
