---
title: "Quote"
method: POST
path: "/reservations/cancels/quote"
tags: ["Cancellations"]
---

# Quote

`POST /reservations/cancels/quote`

## Request body

- object
  - `transaction_id` string, required
  - `cancellation_items` integer[] — This field is mandatory only for flights. All passengers of the product must be included in the cancellation request. Passenger indexes start at 0 (e.g. 1 passenger = [0]). IMPORTANT: Partial cancellations are currently not supported.
  - `quote_type` string — Allowed: BY_POLICIES

## Response `200`

OK

- object
  - `allowance_info` object
    - `product_allowance` object
      - `product_type` string — Hotels, fligths o activities
      - `product_id` number — Reservation identification number
      - `allowance` string
      - `refund_policy` 'TOTAL_REFUND' | 'WITH_PENALTY' | 'TAX_ONLY' | 'NO_REFUND' — This field contains a code indicating whether the customer will receive a refund. The possible values are:
      - `policy` 'VOID: Only flights' | 'RETRACTION_LAW' | 'ANAC: Only flights BR' | 'EXONERATION' | 'SCHEDULE_CHANGE: Only flights' | 'CONTINGENCY: Only flights' | 'BY_POLICIES' | 'UNKNOWN' — It indicates which policy is applied.
      - `expiration_date_time` string, date-time — It is the expiration date of this policy.
      - `expiration_date_time_zone` string — Time zone associated with expiration_date_time.
    - `related_products_allowances` unknown[]
      - unknown
    - `quote` object
      - `product_quote` object
        - `quote_id` string
        - `creation_date` string
        - `product_data` object
          - `product_type` string
          - `product_id` number
          - `transaction_id` number
          - `reservation_id` number
          - `currency` string
          - `currency_rate` number
          - `cancellation_items` unknown[]
            - unknown
        - `refund_policy` string
        - `policy` string
        - `resolution` string — MANUAL O AUTOMATIC
        - `guaranteed` boolean
        - `status` string — QUOTING O QUOTED
        - `price_box` object
          - `payment_methods` object[]
            - `original_payment_method` string
            - `original_payment_amount` number
            - `original_currency` string
            - `original_conversion_rate` number
          - `refunds` object[]
            - `original_payment_method` string
            - `refund_method_price_box` object
              - …
  - `related_products_quotes` string

## Other responses

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

---

[API](https://skmtc.net/despegar/apis/decolar-booking-api.md) · [All operations](https://skmtc.net/despegar/apis/decolar-booking-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/despegar/decolar-booking-api/versions/2fb15f2434ea/schema)
