Download OpenAPI specification:Download
Report conversion of the main product without ancillary insurance products
partner_id required | string |
quote_package_id required | string Booking |
x-idempotency-key | string Idempotency key |
partner_metadata | object (Partner metadata) This field takes partner-specific fields. The keys represent field names and can be any arbitrary string.The values must be one of the simple JSON types: string, boolean, number or null. It’s impossible to use complex types i.e. objects and arrays. |
Request Succeeded
Unknown partner or booking, or booking does not belong to the partner
Duplicated request
Resource is locked
{- "partner_metadata": { }
}
{- "type": "string",
- "message": "string",
- "code": "string",
- "href": "string",
- "errors": {
- "property1": "string",
- "property2": "string"
}
}
Create a quote with provided parameters
partner_id required | string |
fast_quote | boolean Fast quote calculation.Quote will be calculated, but results won't be stored. |
active_only | boolean Select only active policies if testing API key is used. |
include_extra_fields | boolean Include extra_fields in Fast quote response. Shall be used in conjunction with "fast_quote" |
extra_fields | string Extra fields to include in response |
currency required | string (Currency) Enum: "AED" "AFN" "ARS" "AUD" "AZN" "BDT" "BGN" "BHD" "BRL" "BSD" "CAD" "CHF" "CLP" "CNY" "COP" "CRC" "CZK" "DKK" "EGP" "EUR" "FJD" "GBP" "GTQ" "HKD" "HNL" "HRK" "HUF" "IDR" "ILS" "INR" "ISK" "JOD" "JPY" "KHR" "KRW" "KWD" "KZT" "LAK" "LKR" "MAD" "MKD" "MUR" "MVR" "MXN" "MYR" "NGN" "NOK" "NZD" "OMR" "PEN" "PHP" "PKR" "PLN" "QAR" "RON" "RSD" "RUB" "SAR" "SEK" "SGD" "THB" "TRY" "TWD" "UAH" "USD" "UYU" "UZS" "VND" "XPF" "ZAR" |
request required | Array of objects (PolicyRequest) |
customer_country required | string (Customer country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GO" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "XK" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
customer_region | string (Customer region) <= 64 characters Nullable Country subdivision where the customer resides (as defined by ISO-3166-2, e.g. "AU-NSW", "FR-20R", "IS-1", "JP-13", "SE-T", "SI-099", "US-NY") |
customer_language | string (Customer language) [ 1 .. 8 ] characters Customer's language |
customer_email | string <email> (Customer email) <= 254 characters Nullable Email address of the customer (bq_policy_pii) |
customer_ip | string (Customer ip) non-empty Nullable |
customer_postcode | string (Customer postcode) <= 32 characters Nullable |
customer_id | string <uuid> (Customer id) |
partner_subsidiary | string (Partner subsidiary) <= 128 characters Nullable Subsidiary of the Partner if applicable |
partner_transaction_id | string (Partner transaction id) <= 1024 characters Nullable A unique id of the transaction record (booking, order, etc) on the partner side. It can be used in get booking endpoint, but only if characters are limited to alphanumeric symbols, hyphens and underscores. |
partner_customer_id | string (Partner customer id) <= 1024 characters Nullable Partner's customer ID for this transaction |
partner_metadata | object (Partner metadata) This field can be used to pass custom information along with the quote request. The value of this field should be a JSON object representing key-value pairs with a string, boolean or number as a value. Complex data types like objects or array are not allowed. |
policyholder | object (Policyholder) Nullable Policyholder information (bq_policy_pii) |
opt_out | boolean (Opt out) Default: false Should the created quote be automatically opted out (no booking can be made) |
Fast Quote
Quote
Unknown partner
Quote params are incorrect or quote cannot be processed.
{- "currency": "AED",
- "request": [
- {
- "policy_start_date": "2024-10-15T04:16:00Z",
- "insured": [
- {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "country": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "postcode": "string",
- "region": "string",
- "phone": "string",
- "age": 0,
- "birth_date": "2024-10-15",
- "metadata": { },
- "company": "string"
}
], - "renewal_period": "weekly",
- "policy_end_date": "2024-10-15T04:16:00Z",
- "no_of_pets": 0,
- "property_id": "string",
- "cover_amount": 0,
- "no_of_adults": 0,
- "no_of_storeys": 0,
- "property_type": "string",
- "no_of_children": 0,
- "no_of_balconies": 0,
- "landlord_user_id": "string",
- "property_country": "string",
- "property_zipcode": "string",
- "year_constructed": 1500,
- "currency_selected": "string",
- "policyholder_city": "string",
- "policyholder_email": "string",
- "landlord_ip_address": "string",
- "policyholder_region": "string",
- "policyholder_country": "string",
- "policyholder_zipcode": "string",
- "policyholder_address1": "string",
- "policyholder_address2": "string",
- "safety_security_alarm": true,
- "safety_smoke_detector": true,
- "insured_property_value": 0,
- "policyholder_last_name": "string",
- "safety_electronic_lock": true,
- "policyholder_first_name": "string",
- "safety_sprinkler_system": true,
- "listed_on_other_platform": true,
- "safety_fire_extinguisher": true,
- "policy_type_version": 1,
- "policy_type": "full_property_protection"
}
], - "customer_country": "AF",
- "customer_region": "string",
- "customer_language": "string",
- "customer_ip": "string",
- "customer_postcode": "string",
- "customer_id": "string",
- "partner_subsidiary": "string",
- "partner_transaction_id": "string",
- "partner_customer_id": "string",
- "partner_metadata": { },
- "policyholder": { },
- "opt_out": false
}
{- "currency": "str",
- "quotes": {
- "property1": {
- "id": "string",
- "policy_start_date": "2024-10-15T04:16:00Z",
- "policy_end_date": "2024-10-15T04:16:00Z",
- "price": 0,
- "price_formatted": "string",
- "policy": {
- "policy_type": "string",
- "policy_name": "string",
- "policy_code": "string",
- "policy_version": "string",
- "category": "string",
- "content": {
- "title": "string",
- "header": "string",
- "description": "string",
- "optout_msg": "string",
- "inclusions": [
- {
- "title": "string",
- "description": "string"
}
], - "exclusions": [
- {
- "title": "string",
- "description": "string"
}
], - "disclaimer": "string",
- "disclaimer_html": "string",
- "payment_disclaimer": "string",
- "in_path_disclaimer": "string",
- "extra_content": {
- "property1": "string",
- "property2": "string"
}
}
}, - "pds_url": "string",
- "files": "string",
- "extra_fields": "string",
- "tax": {
- "total_tax": 0,
- "total_amount_without_tax": 0,
- "total_tax_formatted": "string",
- "total_amount_without_tax_formatted": "string",
- "taxes": [
- {
- "tax_amount": 0,
- "tax_code": "string",
- "tax_amount_formatted": "string"
}
]
}, - "surcharge": {
- "total_amount": 0,
- "total_amount_formatted": "string",