---
title: "Price Jump"
method: GET
path: "/book/{reservationId}/recovery"
tags: ["Price Jump"]
---

# Price Jump

`GET /book/{reservationId}/recovery`

## Request

- Base URL: `https://api-dev.despegar.com/v3`
- URL: `https://api-dev.despegar.com/v3/book/{reservationId}/recovery`
- Auth: API key in header `x-apikey`

This service detects price variations for a product, providing the differences between the original and the updated value.

## Path parameters

- `reservationId` string, required

## Query parameters

- `test_case` 'pricejump', required

## Response `200`

OK

- object
  - `reservation_id` string: Number of the reservation created.
  - `status` 'SUCCESS' | 'PROCESSING' | 'ERROR': Possible reservation statuses: 'SUCCESS', 'ERROR', and 'PROCESSING'.
  - `sub_status` string
  - `price_jump` object
    - `difference` number: Indicates the difference between the original and the updated price.
    - `price_before_price_jump` number: Original price before the price change.
    - `price_after_price_jump` number: Updated price after the price change.
    - `currency` string: Currency in which the prices are expressed.
    - `timeout` string, date-time: Date and time until which the price change can be accepted or rejected.
    - `message` object
      - `message_type` string: Same value used in the PATCH request.
      - `price_jump_confirmations` object[]
        - `flavor_id` string: Indicates the product type. F0 = Flight.
        - `confirm` boolean

## Other responses

- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/despegar/apis/decolar-booking-api.md) - [All operations](https://skmtc.dev/despegar/apis/decolar-booking-api/llms.txt) - [OpenAPI document](https://skmtc.dev/despegar/apis/decolar-booking-api/revisions/263fcc84081d?raw)
