---
schema_version: "1"
id: 55219298bc2e7aba2681586bedfe1f5b4fb7e82b9260735f9a405aa630b66de0
title: Product Surcharge Post Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_requests_product_surcharge_post_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_product_surcharge_post_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 513c1a32ef13db98094489c6d037a0232685fb10fdcf6e73368068907bc03860
description: Input representation of product surcharge details.
---
# Product Surcharge Post Input

Input representation of product surcharge details.

## JSON Example

{
  "name": "AutoVehicleTax",
  "surchargeId": "01cLO000000EMslOKL",
  "rootProductId": "01tDR000000EMslYAG",
  "productPath": "01tDR000000EMslYAG/11BDR00000000T72AI",
  "effectiveFromDate": "2024-05-30T10:30:00",
  "effectiveToDate": "2024-11-01T10:30:00",
  "isProrationEligible": true,
  "isRefundEligible": true,
  "isActive": true,
  "ruleApiName": "autoVehicleTaxRule",
  "ruleCriteria": \[
    {
      "conditions": \[
        {
          "contextTagName": "SalesTransactionItemAttribute",
          "operator": "LessThan",
          "conditionIndex": 1,
          "attributeName": "Annual Milage",
          "attributePicklistValueId": null,
          "type": "Attribute",
          "attributeId": "0tjDR00000000VGYAY",
          "dataType": "Number",
          "values": \[
            "50000"
          \]
        }
      \],
      "rootObjectId": "01tDR000000EMslYAG",
      "productRelatedComponent": "",
      "criteriaIndex": 1,
      "sourceContextTagName": "ProductBasedOn",
      "sourceOperator": "Equals",
      "sourceDataType": "String",
      "sourceValues": \[
        "11BDR00000000T72AI"
      \]
    }
  \],
  "sequenceNumber": 0
}

## Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| effectiveFromDate | String | Effective from date of the product surcharge. | Optional | 63.0 |
| effectiveToDate | String | Effective to date of the product surcharge. | Optional | 63.0 |
| isActive | Boolean | Indicates whether the product surcharge is active (true) or not (false). Currently, only active product surcharges are supported | Optional | 63.0 |
| isProrationAllowed | Boolean | Indicates whether the product surcharge is allowed for proration (true) or not (false). | Optional | 63.0 |
| isRefundAllowed | Boolean | Indicates whether the product surcharge is allowed for refund (true) or not (false). | Optional | 63.0 |
| name | String | Name of the product surcharge. | Required | 63.0 |
| productPath | String | A path containing the product IDs that roll up to the parent product. | Required | 63.0 |
| productRelatedComponentId | String | ID of the product related component associated with the product surcharge. | Optional | 63.0 |
| rootProductId | String | ID of the root product associated with the product surcharge. | Required | 63.0 |
| ruleApiName | String | Rule API name associated with product surcharge. | Optional | 63.0 |
| ruleCriteria | [Insurance Rule Criteria Input](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_insurance_rule_criteria_input.htm "Input representation details of the insurance rule criteria.")\[\] | Rule criteria of the dynamic rule for the product surcharge. | Optional | 63.0 |
| sequenceNumber | Integer | Order in which surcharges are calculated when multiple surcharges are applied to a product. | Optional | 67.0 |
| surchargeId | String | ID of the surcharge associated with the product surcharge. | Required | 63.0 |