---
schema_version: "1"
id: ffe1b578186baf86260d03b3fefeb7cf33e64a66037ca8cbe36055c459d04386
title: Insurance Quote Details (GET, PATCH)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_resources_quote_details.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_resources_quote_details.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3e0b08269b2ea5a483f342ec74471ce1e20485da0321798df67d49d1f4c01d04
description: Get or update quote details by the specified quote ID.
---
# Insurance Quote Details (GET, PATCH)

Get or update quote details by the specified quote ID.

You can get the desired quote details by using the filter and non-filter request parameters. Use the term filter to differentiate between the filter and non-filter parameters. See, Resource example.

![Note](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/images/icon_note.png)

#### Note

A filter parameter is used to show the results that match a certain criteria, for example ProductSpec=InsuredItem shows the quote details for the insured item only. A non-filter parameter controls the behavior or format of the response, for example returnChildrenNodes=true shows the child nodes of the SalesTransactionItem. In the default context definition, a SalesTransactionItem in context represents a QuoteLineItem.

These are the operators that are supported to filter the results.

- eq—Equal
- ne—Not equal
- lt—Less than
- lte—Less than or equal to
- gt—Greater than
- gte—Greater than or equal to

## Resource

{quoteId} is a placeholder.

/connect/insurance/quotes/{quoteId}

/connect/insurance/quotes/{quoteId}?contextId=\[value\]filter\[field1\]\[operator1\]=\[value1\]&filter\[field2\]\[operator2\]=\[value2\]&key1=value1&includeClause=true

The field1 parameter refers to the ProductSpec filter parameter, and the field2 parameter refers to the valid context attribute of SalesTransactionItem in the target context definition. You can add multiple filter and non-filter parameters to get the desired result.

## Resource Example

Replace {yourInstance} with the My Domain name of your Salesforce org.

https://{yourInstance}.salesforce.com/services/data/v68.0/connect/insurance/quotes/0Q0DR0000000xFw0AI

https://{yourInstance}.salesforce.com/services/data/v68.0/connect/insurance/quotes/0Q0DR0000000xFw0AI?contextId=0000000i18tq18g002917545349255616564529f415d45c4b1b1ea08747a2195&filter\[ProductSpec\]\[eq\]=InsuredItem&filter\[DYN\_\_Auto\_Value\]\[gt\]=60000&returnChildrenNodes=true&includeClause=true

## Available Version

63.0

## HTTP Methods

GET, PATCH

## Request Parameters for GET

<table class="featureTable sort_table" summary="">





            <thead class="thead sorted" align="left">
              <tr>
                <th class="featureTableHeader vertical-align-top " id="d518222e208">Parameter Name</th>

                <th class="featureTableHeader vertical-align-top " id="d518222e211">Type</th>

                <th class="featureTableHeader vertical-align-top " id="d518222e214">Description</th>

                <th class="featureTableHeader vertical-align-top " id="d518222e217">Required or Optional</th>

                <th class="featureTableHeader vertical-align-top " id="d518222e220">Available Version</th>

              </tr>

            </thead>

            <tbody class="tbody">
              <tr>
                <td class="entry" headers="d518222e208" data-title="Parameter Name"><samp class="codeph nolang">connectDynamicParameters</samp></td>

                <td class="entry" headers="d518222e211" data-title="Type">Map&lt;String,String&gt;</td>

                <td class="entry" headers="d518222e214" data-title="Description">
                  <p class="p">Specify these filter and non-filter request parameters to get the desired
                    results.</p>

                  <ul class="ul bulletList">
                    <li class="li">
                      <samp class="codeph nolang">contextId</samp>—Non-filter
                      parameter to get the quote details for the specified context ID.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">ProductSpec</samp>—Filter parameter
                      to get the quote details for the specified product spec. Valid values are:<ul class="ul bulletList">
                        <li class="li">Coverage</li>

                        <li class="li">InsuredItem</li>

                        <li class="li">InsuredParty</li>

                        <li class="li">Product</li>

                      </ul>
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">returnChildrenNodes</samp>—Non-filter parameter that retrieves
                      all the <samp class="codeph nolang">SalesTransactionItems</samp> in the
                      hierarchy, starting from each matching <samp class="codeph nolang">SalesTransactionItem</samp> and includes all child nodes.<p class="p">Use the
                        <samp class="codeph nolang">returnChildrenNodes</samp> parameter
                        with filter parameters.
                      </p>
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">includeClause</samp>—Non-filter
                      parameter that includes the associated product clauses of the <samp class="codeph nolang">SalesTransactionItems</samp> in the response
                      body.<p class="p">Use the <samp class="codeph nolang">includeClause</samp>
                        parameter with filter parameters.</p>
                    </li>

                  </ul>

                </td>

                <td class="entry" headers="d518222e217" data-title="Required or Optional">Optional</td>

                <td class="entry" headers="d518222e220" data-title="Available Version">63.0</td>

              </tr>

            </tbody>

          </table>

## Response Body for GET

[Get Quote](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_get_quote_output.htm "Output representation of the details of the get quote details.")

## Request Body for PATCH

### JSON Example

{
  "configOptions": {
    "executePricing": false,
    "validateProductCatalog": false,
    "executeConfigurationRules": false,
    "executeQualificationRules": false
  },
  "additionalFields": {
    "Status": "Draft",
    "ValidFromDate": "2025-10-29T00:00:00.000Z"
  },
  "addedNodes": \[
    {
      "productCode": "autoCollision",
      "instanceKeys": \[
        "autoBundle",
        "autoCollision"
      \],
      "additionalFields": {
        "StartDate": "2025-09-29T00:00:00.000Z",
        "EndDate": "2025-10-29T00:00:00.000Z",
        "Discount": 40
      }
    }
  \],
  "updatedNodes": \[
    {
      "instanceKeys": \[
        "autoBundle"
      \],
      "productCode": "autoBundle",
      "attributes": {
        "avMake": "AudiQ14"
      },
      "additionalFields": {
        "StartDate": "2025-09-29T00:00:00.000Z",
        "EndDate": "2025-10-29T00:00:00.000Z",
        "Discount": 50
      }
    }
  \]
}

### Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| addedNodes | [Insurance Quote Input Node](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_insurance_quote_input_node.htm "Input representation of root quote line items and child quote line items of insurance quote.")\[\] | List of added nodes for insurance quote. | Optional | 63.0 |
| additionalFields | Map<String, Object> | Insurance quote additional fields. | Optional | 63.0 |
| configOptions | [Insurance Quote Config Options](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_ins_quote_config_options.htm "Input representation of insurance quote line item related objects.") \[\] | Configurator options for insurance quote. | Optional | 63.0 |
| deletedNodes | [Insurance Quote Input Node](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_insurance_quote_input_node.htm "Input representation of root quote line items and child quote line items of insurance quote.")\[\] | List of deleted nodes from insurance quote. | Optional | 63.0 |
| pricingProcedure | String | Pricing procedure for insurance quote. | Optional | 63.0 |
| updatedNodes | [Insurance Quote Input Node](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_insurance_quote_input_node.htm "Input representation of root quote line items and child quote line items of insurance quote.")\[\] | List of updated nodes on insurance quote. | Optional | 63.0 |

## Response Body for PATCH

[Insurance Quote](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_insurance_quote_output.htm "Output representation of the details of the insurance quote.")