Travel Insured International
Travel Insured International's own quote-and-buy flow — destination and ZIP/state lookups the way the trip-details step performs them.
Travel Insured International's own quote-and-buy flow — destination and ZIP/state lookups the way the trip-details step performs them. (Plan pricing itself is not yet implemented; see the provider's coverage board.)
Domain: travelinsured.com
Also known as: Travel Insured International, Travel Insured, TII
Call it directly
bowmark.providers.travelinsured.searchDestinations(query: string): Promise<TravelinsuredDestination[]>
bowmark.providers.travelinsured.getZipInfo(zip: string): Promise<TravelinsuredZipInfo>Functions
| Function | What it does |
|---|---|
searchDestinations | Resolves a typed destination (country, city, or US state) into Travel Insured's own destinationId + type, the way the quote flow's trip-details step does as a traveler types. |
getZipInfo | Resolves a US ZIP code to its state and country, the way the quote flow's traveler-details step validates state of residence. |
Types
interface TravelinsuredDestination {
destinationId: string;
name: string;
type: string;
state: { name: string; isoCode: string } | null;
countries: { name: string; isoCode: string }[];
}
interface TravelinsuredZipInfo {
zipCode: string;
stateIsoCode: string;
countryIsoCode: string;
}Examples
bowmark.providers.travelinsured.searchDestinations("Italy")bowmark.providers.travelinsured.getZipInfo("10001")