---
schema_version: "1"
id: a98a6ec1cd1d465ca4c025b72796c3a45a249c61149210c07e4f2e68ec8fb923
title: Product Clause Generation Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_requests_insurance_clause_generation_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_insurance_clause_generation_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ecb5b5f030d2ee8b23237406837f8beaf01c04bfcddc1df8734e1bf157928f8a
description: Input representation for generating product clauses.
---
# Product Clause Generation Input

Input representation for generating product clauses.

## JSON Example

{
  "quoteId": "0Q0xx0000000001AAA",
  "contextId": "0000000i18tq18g0025175944829641764efd423f7dc44b98dd1e829086efc59",
  "quoteLineItemIds": \[
    "0QLxx0000000003CCC"
  \],
  "instanceKeys": \[
    {
      "instanceKey": \[ "Auto", "Liability" \]
    }
  \],
  "options": {
    "generateClausesAsync": true,
    "generateManualClauses": false,
    "saveContext": true
  }
}

## Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| contextId | String | ID of the context based on which the product clause is generated. | Required if quoteId isn't specified | 65.0 |
| instanceKeys | [Instance Key Input\[\]](connect_requests_instance_key_input.htm "Input representation for a single instance key array.") | List of instance keys. | Optional | 65.0 |
| options | [Clause Generation Options Input](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_clause_generation_options_input.htm "Input representation for clause generation options.") | Options for clause generation. | Optional | 65.0 |
| quoteId | String | ID of the quote. | Required if contextId isn't specified | 65.0 |
| quote​LineItem​Ids | String\[\] | IDs of the quote line items. | Optional | 65.0 |