Skip to main content
POST
/
quote
/
api
/
whole-system
/
listQuotes
List Quotes for Whole System Warranty
curl --request POST \
  --url https://{HOST_NAME}/quote/api/whole-system/listQuotes \
  --header 'Content-Type: application/json' \
  --data '
{
  "storeId": "test-store-id",
  "lineItemList": [
    {
      "title": "PMC Prophecy5 2-Way Floorstanding Speaker (Pair)",
      "unitPrice": 6500,
      "quantity": 1,
      "categoryTag": "Speaker Floorstanding",
      "description": "High-performance floorstanding speaker pair for immersive audio systems."
    }
  ],
  "installerWarrantyDuration": 3,
  "partnerProposalId": "9f3e21c6-6bdb-4c7f-9b91-2a4f9a2c7d11",
  "sbSalesLeadId": "9f3e21c6-6bdb-4c7f-9b91-2a4f9a2c7d11"
}
'
{
  "warrantyQuoteId": "36eaa6e3-ca1f-4bc1-86da-76caf7a7114d",
  "totalCoveredAmount": 6500,
  "sbSalesLeadId": "da5747e7-a60d-4625-a91d-ea2728ecf589",
  "tncLink": "https://customer.surebright.com/t-c/098e0e696f20839479dfe4a2804756233d32130f068441e24c6c0dbbc790677f71879502aee2ce87e116739d4dae3332",
  "warrantyQuoteItemList": [
    {
      "warrantyQuoteItemId": "a7defcbd-aa07-4e01-9076-c1935af20a98",
      "coverageYears": 2,
      "quotePrice": 40
    }
  ],
  "coverageWidgetHeading": "Add premium product protection",
  "coveragePopupHeading": "Don't want to spend extra on this product for the next few years? We've got you covered!",
  "coverageList": [
    {
      "coverageItemType": "COVERAGE_OPTION",
      "coverageItemTitle": "Your warranty plan provides,",
      "coverageItemList": [
        "Comprehensive coverage for mechanical or electrical breakdowns and even power surges",
        "100% coverage for repairs for extended years that also includes labor and not just parts",
        "Coverage for inevitable wear and tear affecting the product's functionality after years of usage",
        "Replacement or reimbursement, if we can't repair it"
      ]
    }
  ],
  "lineItemList": [
    {
      "title": "PMC Prophecy5 2-Way Floorstanding Speaker (Pair)",
      "unitPrice": 6500,
      "isCovered": true,
      "sbCategoryName": "Speaker Floorstanding",
      "quantity": 1,
      "description": "High-performance floorstanding speaker pair for immersive audio systems."
    }
  ]
}

Headers

HeaderDescriptionRequired
X-SureBright-Access-TokenAccess token for authenticationNo
Content-Typeapplication/jsonYes

Country and State Codes


To regenerate quotes for the same proposalId / lead, provide one of the following identifiers:
  • partnerProposalId (this corresponds to your system’s proposal Id)
  • sbSalesLeadId (returned in the first List Quotes API response)

Body

application/json
storeId
string
required

A unique identifier for the store

Example:

"test-store-id"

lineItemList
object[]
required

A list of line items representing the products in the order

installerWarrantyDuration
integer
required

The duration of the installer warranty in months

Example:

3

partnerProposalId
string

A unique identifier for the proposal

Example:

"9f3e21c6-6bdb-4c7f-9b91-2a4f9a2c7d11"

sbSalesLeadId
string

A unique identifier for the sales lead

Example:

"9f3e21c6-6bdb-4c7f-9b91-2a4f9a2c7d11"

Response

Quotes Found

warrantyQuoteId
string

A unique ID representing this specific return quote in this particular API call

Example:

"36eaa6e3-ca1f-4bc1-86da-76caf7a7114d"

totalCoveredAmount
number<float>

Total covered amount for the product purchased

Example:

6500

sbSalesLeadId
string

A unique ID representing the SureBright sales lead ID

Example:

"da5747e7-a60d-4625-a91d-ea2728ecf589"

Unique link for legal Terms & Conditions of the warranty for each product Category

Example:

"https://customer.surebright.com/t-c/098e0e696f20839479dfe4a2804756233d32130f068441e24c6c0dbbc790677f71879502aee2ce87e116739d4dae3332"

warrantyQuoteItemList
object[]

A list of warranty offers generated for this particular request

coverageWidgetHeading
string

Heading for the various tenure options shown to a customer on the product page

Example:

"Add premium product protection"

coveragePopupHeading
string

Title that nudges the customers to buy a warranty for their product purchase

Example:

"Don't want to spend extra on this product for the next few years? We've got you covered!"

coverageList
object[]

List of coverage options grouped under different sections

lineItemList
object[]

A list of line items with full product information and coverage status