Coverage text
The coverage bullets the widget shows for a category, with and without a priced store category.
Every quote carries its coverage bullets in coverageV1. When you need the text before you have a quote, for example on a category landing page, a comparison table or a product page where the price is not yet known, use these two endpoints. Both are read-only and need no authentication.
Coverage options for a category#
GET https://{HOST_NAME}/quote/api/insurerCategory/listCoverageOptions
Your store identifier.
The SureBright category (from List Category or a quote).
Default SHOPIFY.
curl 'https://{HOST_NAME}/quote/api/insurerCategory/listCoverageOptions?storeId=example-store.myshopify.com&sbCategoryId=2b7e4f10-9c3a-4d5e-8f61-7a2b3c4d5e6f'Response#
isErrorbooleanfalse on success.
coverageTypestringAD (accidental damage), B (breakdown) or AB (both).
coverageListobject[]Errors#
Product coverage for a category#
GET https://{HOST_NAME}/quote/api/insurerCategory/listProductCoverage
Answers "what protection can this product carry here" from the product's SureBright category alone. It works for a store whose categories are not priced yet, so By Product would return no plans, and it can classify a product URL for you when you do not have the category.
Your store identifier.
The SureBright category. Required unless base64ProductURL is sent.
A product page URL, Base64-encoded. SureBright classifies it first and uses the resulting category. See Categorize a product.
Default SHOPIFY.
US or CA. Limits the answer to what the store offers in that country.
curl 'https://{HOST_NAME}/quote/api/insurerCategory/listProductCoverage?storeId=example-store.myshopify.com&sbCategoryId=2b7e4f10-9c3a-4d5e-8f61-7a2b3c4d5e6f&country=US'Response#
isErrorbooleanfalse on success.
sbCategoryIdstringThe category answered for (the classified one when you sent a URL).
categoryNamestringIts name, or null when the store does not offer it.
isStoreCategoryRequiredbooleanAlways false: this answer does not depend on a priced store category.
coverageTypeListobject[]One entry per coverage type the store offers for the category. Empty when it offers none.