Price Jump
Price Jump
Changed onThis service allows accepting or rejecting detected price variations for a product, confirming whether to proceed with the updated value.
patch/book/{reservationId}/recovery
Request
- Base URLhttps://api-dev.despegar.com/v3
- URLhttps://api-dev.despegar.com/v3/book/{reservationId}/recovery
- AuthAPI key in header x-apikey
Path parameters
reservationIdstring required
This field must be filled in with the id of an existing reservation or with the 'external_booking_reference' sent when closing the reservation.
Query parameters
test_case'pricejump' required
Optional parameter for testing purposes. Use 'pricejump' to simulate a price jump scenario.
Request body
Example request
{
"price_jump_confirmations": [
{
"flavor_id": "F0"
}
]
}Response
OK
Changes
- breaking
request property
was restricted to a list of enum values - breaking
the request property
became required - info
added the new
PRICE_JUMPenum value to the request property
- breaking