BookCopy Pagepost https://api-dev.despegar.com/v3/bookRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Query Paramstest_casestringenumOptional parameter for testing purposes. Use 'pricejump' to simulate a price jump scenario.pricejumpAllowed:pricejumpBody Paramsprebook_idstringrequiredThis field must be filled in with the information returned in the "prebook_id" field of the "prebook" service response.external_booking_referencestringrequiredThis field must be filled in by the API consumer with a unique code to identify book requests, following the ISO-XXXX standard format. Note that each code must be unique to avoid processing errors - sending duplicate codes will result in an error response.modalitystringenumrequiredThis field must be filled in with the payment method, the only option available is 'PAYINADVANCE'.PAYINADVANCEAllowed:PAYINADVANCEcontact_dataobjectrequiredcontact_data objecttravelersarray of objectsrequiredtravelers*ADD objectpaymentobjectpayment objecttown_registrationnumberThis field is optional and must be filled in with the municipal registration, information required only for Legal Entities.business_typestringThis field is optional and must be filled in with the type of business, information required only for Legal Entities.customer_situationstringThis field is optional and must be filled in with the customer's situation, information required only for Legal Entities.loyalty_dataobject of objectsloyalty_data object of objectsdisable_sync_resultbooleanThis parameter must be sent as a 'query parameter', for example: https://https://{{domain}}.despegar.com/v3/book?disable_sync_result=true This parameter was created to obtain a book response in less than 45 seconds (default time). When sent with 'true', the response will be returned as soon as the reservation_id is generated (on average, 2 seconds). However, the status may return as 'PROCESSING', requiring a later status. When not sent or sent with 'false', the service response time will be the default.truefalseResponses 200OK 400Bad Request 401Unauthorized 409Conflict 500Internal Server ErrorUpdated about 1 month ago