---
title: "Prebook"
method: POST
path: "/prebook"
tags: ["Pre-booking"]
---

# Prebook

`POST /prebook`

## Request body

- object
  - `choice_id` string, required — This information is encrypted and must be obtained in the response from the availability service.
  - `lang` 'pt' | 'en' | 'es' — This field must be filled in with the language in which you wish to receive the information returned in 'extended_info'.
  - `include` string[] — This field must be submitted with at least one option. The allowed values are: - EXCHANGE_POLICIES: This option is sent to return information about exchange policies. - IMPORTANT_DATA: This option is sent to return information about requirements (vaccinations, documentation, etc.) based on the routes and destinations. - HINTS: This option is sent to return specifications for required fields and formats for billing data.

## Response `200`

OK

- object
  - `prebook_id` string — ID automatically generated to identify the flight data and the valid fare to make the booking.
  - `expiration` string, date-time — expiration date for the chosen fare.
  - `status` string — fare status.
  - `flow` string — identifies the flow/process being performed.
  - `total` number — total price of the flight.
  - `currency` string — currency corresponding to the returned total amount.
  - `commission` object
    - `amount` number
    - `max_amount` number
    - `min_amount` number
  - `extended_info` object
    - `exchange_policies` object
      - `F0` object
        - `product_type` string
        - `product_title` string
        - `range` unknown[]
          - unknown
        - `conditions` object[]
          - `title` string
          - `question_and_answer` object[]
            - `question` string
            - `answer` string
        - `disclaimers` object[]
          - `title` string
          - `description` string
        - `summary` object
          - `operations_summaries` object[]
            - `title` string
            - `description` string
            - `permit` string
          - `disclaimers` object[]
            - `description` string
    - `important_data` object
      - `routes` unknown[]
        - unknown
      - `travelers` object[]
        - `location` string
        - `location_type` string
        - `country_code` string
        - `requirements` object[]
          - `id` string
          - `req_type` string
          - `description` string
    - `hints` object[]
      - `modality` string
      - `payment_option` string
      - `hint` object
        - `from` object
          - `travelers` object
            - `hint_type` string
            - `validations` object[]
              - …
          - `payment` object
            - `option_type` object
              - …
            - `payment_units` object
              - …
            - `invoices` object

## Other responses

- `400` — Bad Request
- `410` — Gone

---

[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/revisions/2fb15f2434ea/schema)
