---
title: "Manual prueba"
method: PATCH
path: "/reservations/{productId}/cancels/{FlowId}/quote"
tags: ["Cancellations"]
---

# Manual prueba

`PATCH /reservations/{productId}/cancels/{FlowId}/quote`

## Request

- Base URL: `https://api-dev.despegar.com/v3`
- URL: `https://api-dev.despegar.com/v3/reservations/{productId}/cancels/{FlowId}/quote`
- Auth: API key in header `x-apikey`

## Path parameters

- `productId` integer, required
- `FlowId` string, required

## Request body

- object
  - `action` 'ACCEPT' | 'REJECT'
  - `reason` string

## Response `200`

OK

- object
  - `cancel_id` string
  - `request_code` string
  - `status` string
  - `product_id` number
  - `transaction_id` number
  - `reservation_id` number
  - `cancellation_items` integer
  - `product_type` string
  - `reason` string
  - `creation_date` string, date
  - `related_products` unknown[]
    - unknown
  - `quote` object
    - `product_quote` object
      - `quote_id` string
      - `creation_date` number
      - `product_data` object
        - `product_type` string
        - `product_id` number
        - `transaction_id` number
        - `reservation_id` number
        - `cancellation_items` unknown[]
          - unknown
      - `refund_policy` string
      - `policy` string
      - `resolution` string
      - `guaranteed` boolean
      - `status` string
    - `related_products_quotes` unknown[]
      - unknown

## Other responses

- `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)
