Get Destination Groups
GET {{host_gateway}}/api/partner/products/{{api_product_id}}/destination/groups
Request Body
{"quote_id"=>"{{quote_id}}", "currency_id"=>"GBP", "sanction_search_id"=>0, "product_id"=>1013, "start_at"=>"{{start_date}}", "end_at"=>"{{end_date}}", "signed_at"=>"2023-01-09", "deposit_at"=>"{{current_date}}", "details"=>[{"type"=>"deductible", "detail"=>"excess_fee", "amount"=>100}, {"type"=>"package", "product_package_id"=>"base_package"}, {"type"=>"package", "product_package_id"=>"winter_sports_package"}], "applicants"=>[{"first_name"=>"Jen", "middle_name"=>"Ferry", "last_name"=>"Beck KM", "dob"=>"1970-01-05", "age_at_travel"=>35, "email"=>"ascifo@battleface.com", "contact_number"=>"324234234", "address"=>"123 test street", "city"=>"test city", "post_code"=>"0", "country_code"=>"GB", "is_main"=>true, "trip_cost"=>1}, {"first_name"=>"Jane", "middle_name"=>"Fe", "last_name"=>"Johnson KM", "dob"=>"2009-01-05", "age_at_travel"=>35, "email"=>"ascifo@battleface.com", "contact_number"=>"324234234", "address"=>"123 test street", "city"=>"test city", "post_code"=>"0", "country_code"=>"GB", "is_main"=>false, "trip_cost"=>1}], "beneficiary"=>{"first_name"=>"Ben", "middle_name"=>"Fe", "last_name"=>"Johnson KM", "email"=>"testing@battleface.com", "contact_number"=>"324234234", "trip_cost"=>1}, "guardian"=>{"first_name"=>"Ben", "middle_name"=>"Fe", "last_name"=>"Johnson KM", "email"=>"testing@battleface.com", "contact_number"=>"324234234", "trip_cost"=>1, "dob"=>"2005-01-01", "postal_address"=>"Some Street in the world"}, "destinations"=>[{"country_code"=>"GB"}]}
RESPONSES
status: OK
{"data":[{"id":1,"name":"TIER 1"},{"id":2,"name":"TIER 2"},{"id":3,"name":"TIER 3"}],"links":{"first":"http://api.insurance.lcl/api/v2/products/1013/destination/groups?page=1","last":null,"prev":null,"next":null},"meta":{"current_page":1,"from":1,"path":"http://api.insurance.lcl/api/v2/products/1013/destination/groups","per_page":500,"to":3},"processed":false}