---
schema_version: "1"
id: f301e02c45ce4f14b6245aec9530c3f40d0b6213346889028c20132e974e414f
title: Product Rating Patch Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_requests_product_rating_patch_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_product_rating_patch_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 71f2c5fc89eaaf95bf299d36277b96aa9d24d7164a3e217bc00b8f8e24b18811
description: Input representation of product rating update details.
---
# Product Rating Patch Input

Input representation of product rating update details.

## JSON Example

{
  "contextId": "a49103b233638b918217c74eced69220e534e160c3d3d35bc8cf6608515aeab3",
  "ratingOptions": {
    "executePricing": true,
    "executeConfigurationRules": false
  },
  "updatedNodes": \[
    {
      "instanceKeys": \[
        "AutoSilver",
        "BMW",
        "Tim1"
      \],
      "productCode": "driver",
      "attributes": {
        "DriverAccidentPoints": 1,
        "AgeFirstLicensed": 50,
        "DriverMVRPoints": 1
      },
      "targetRecords": \[
        "003DR000002ov8NYAQ",
        "001DR000003avQCYAY"
      \]
    }
  \],
  "addedNodes": \[
    {
      "instanceKeys": \[
        "AutoSilver",
        "Tesla"
      \],
      "productCode": "auto",
      "attributes": {
        "Year": "2022",
        "Model": "Y"
      }
    },
    {
      "instanceKeys": \[
        "AutoSilver",
        "Tesla",
        "collision1"
      \],
      "productCode": "collision",
      "attributes": {
        "Limit": 500,
        "Deductible": 1000
      }
    },
    {
      "instanceKeys": \[
        "AutoSilver",
        "Tesla",
        "Driver1"
      \],
      "productCode": "driver",
      "attributes": {
        "DriverAccidentPoints": 5,
        "AgeFirstLicensed": 30,
        "DriverMVRPoints": 1
      },
      "targetRecords": \[
        "003DR000002oxCfYAI",
        "001DR000003azdpYAA"
      \]
    },
    {
      "instanceKeys": \[
        "AutoSilver",
        "Audi",
        "Collision2"
      \],
      "productCode": "collision",
      "attributes": {
        "Limit": 500,
        "Deductible": 1000
      }
    }
  \]
}

## Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| addedNodes | [Rating Input Node](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_rating_input_node.htm "Input representation of details of context node.")\[\] | List of added nodes. | Optional | 63.0 |
| additionalFields | Map<String, Object> | Map of additional fields that must be updated in the quote context. | Optional | 63.0 |
| contextId | String | Context ID. | Required | 63.0 |
| deletedNodes | [Rating Input Node](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_rating_input_node.htm "Input representation of details of context node.")\[\] | List of deleted nodes. | Optional | 63.0 |
| effectiveDate | String | Date used to find the active pricing procedure for pricing. The default value is the current date. | Optional | 63.0 |
| ratingDate | String | Date that's used to find the active pricing procedure. | Optional | 63.0 |
| ratingOptions | [Rating Options Input](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_rating_options_input.htm "Input representation details of rating service options.")\[\] | Options for rating. | Optional | 63.0 |
| updatedNodes | [Rating Input Node](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_rating_input_node.htm "Input representation of details of context node.")\[\] | List of updated nodes. | Optional | 63.0 |