Booking
post/book

Request

  • Base URL
    https://api-dev.despegar.com/v3
  • URL
    https://api-dev.despegar.com/v3/book
  • Auth
    API key in header x-apikey

Query parameters

test_case'pricejump'

Optional parameter for testing purposes. Use 'pricejump' to simulate a price jump scenario.

Request body

OR

Response

OK

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Changes

    • breaking

      the request's body type changed from object to no type

    • breaking

      added subschema #7: NOT_ENOUGH_BALANCE to the response body oneOf list for the response status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added subschema #1: ONE_CARD subschema #2: CURRENT_ACCOUNT to the request body oneOf list