Quotation Preview

POST {{host}}/api/partner/quote/preview

Quote Preview function's the same way as a normal quote but we don't persist the quote on our side. This is intended to be used if you need to provide fast pricing information, the body is the same as the create quote call.

Request Body

{"start_date"=>"2023-12-01", "end_date"=>"2023-12-15", "deposit_date"=>"2023-10-01", "currency"=>"USD", "destinations"=>["US"], "applicants"=>[{"is_main"=>true, "age"=>27, "trip_cost"=>10000, "email"=>"test@battleface.com"}], "affiliate"=>"1", "product"=>"12106ae7-05f3-4b57-8827-373f58242c6b", "host_country"=>"US", "host_country_state"=>"OH", "packages"=>[{"id"=>"accidental_death_and_dismemberment", "limits"=>[{"type"=>"benefit_limit", "for"=>"non_flight_accidental_death_and_dismemberment", "value"=>"100000"}]}, {"id"=>"vacation_rental_damage", "limits"=>[{"type"=>"benefit_limit", "for"=>"vacation_rental_damage", "value"=>"1000"}], "reservations"=>[{"type"=>"reservations", "for"=>"vacation_rental_damage", "amount"=>3}]}, "trip_interruption", "trip_cancellation_package", "cancel_for_any_reason", "vacation_rental_damage", "pet_travel_package", "travel_medical_package", "baggage_package", "delay_package"]}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":{"email":null,"affiliate_id":1,"product_id":"1036","product_uuid":"12106ae7-05f3-4b57-8827-373f58242c6b","quoted_price":984.96,"taxes":{"stamp_duty":null,"witholding":null},"discounts":{"amount":0},"minimums":{"amount":0,"value":0},"deductibles":{"excess_fee":null},"currency_id":"USD","host_country":"US","host_country_state":"OH","trip_length":15,"start_date":"2023-12-01","end_date":"2023-12-15","deposit_date":"2023-10-01","details":[{"package_id":2108,"package_alias":"trip_interruption","amount":23.67,"type":"Trip Interruption Add-on","value":null,"detail":null},{"package_id":2125,"package_alias":"trip_cancellation_package","amount":87.82,"type":"Trip Cancellation","value":null,"detail":null},{"package_id":2142,"package_alias":"cancel_for_any_reason","amount":63.37,"type":"Cancel For Any Reason","value":null,"detail":null},{"package_id":2171,"package_alias":"vacation_rental_damage","amount":57.5,"type":"Vacation Rental Damage Package","value":null,"detail":null},{"package_id":2189,"package_alias":"pet_travel_package","amount":11.01,"type":"Pet Travel Package","value":null,"detail":null},{"package_id":2206,"package_alias":"travel_medical_package","amount":21.61,"type":"Travel Medical Package","value":null,"detail":null},{"package_id":2224,"package_alias":"baggage_package","amount":18.05,"type":"Baggage Package","value":null,"detail":null},{"package_id":2242,"package_alias":"delay_package","amount":17.24,"type":"Delay Package","value":null,"detail":null},{"package_id":2260,"package_alias":"accidental_death_and_dismemberment","amount":28.05,"type":"Accidental Death and Dismemberment Package","value":null,"detail":null},{"package_id":2171,"package_alias":null,"amount":3,"type":"reservations","for":"vacation_rental_damage","value":null,"detail":null},{"package_id":2171,"package_alias":null,"amount":null,"type":"benefit_limit","for":"vacation_rental_damage","value":"1000","detail":null},{"package_id":2260,"package_alias":null,"amount":null,"type":"benefit_limit","for":"non_flight_accidental_death_and_dismemberment","value":"100000","detail":null}],"applicants":[{"type":"applicant","email":"test@battleface.com","is_main":true,"age":27,"dob":null,"trip_cost":10000}],"destinations":[{"country":"US","risk_index":4}],"reference":{"employee_id":null,"external":null},"fees":[]}}