---
schema_version: "1"
id: 0366d9a2337397bc0041e5ddabb71fa50f77b73a9a72894835e25ea6d25418a1
title: Sales Agreement Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/connect_requests_sales_agreement_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_requests_sales_agreement_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 33184c407b6463df101eb24744126dea66a105058d86692d2f714edf03a51dac
description: Input representation to convert a source object to a sales agreement.
---
# Sales Agreement Input

Input representation to convert a source object to a sales agreement.

## JSON Example

{
  "sourceObjectId": "0kFT1000000000RMAQ",
  "salesAgreementDefaultValues": {
      "salesAgreement": {
          "StartDate": "2020-01-01",
          "ScheduleFrequency": "Monthly",
          "ScheduleCount": "10"
      },
      "salesAgreementProduct": {
          "PricebookEntry": "01uxx00000091jOAAQ",
          "Name": "test-sap1",
          "InitialPlannedQuantity":"1"
      }
  }
}

## Properties

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d42873e42">Name</th>
              <th class="featureTableHeader vertical-align-top " id="d42873e44">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d42873e46">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d42873e48">Required or Optional</th>
              <th class="featureTableHeader vertical-align-top " id="d42873e50">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d42873e42" data-title="Name"><samp class="codeph nolang">salesAgreement​​​DefaultValues</samp></td>

              <td class="entry" headers="d42873e44" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_requests_sales_agreement_default_fields_input.htm" title="Input representation of default values for the sales agreement fields.">Sales Agreement Default​​ Fields
                  Input</a>[]
              </td>

              <td class="entry" headers="d42873e46" data-title="Description">Default field values for the SalesAgreement and SalesAgreementProduct
                entities that aren’t defined in the mapping
                definition.<p class="p">Note: You can remove a mapping field from
                  the definition by providing the output field value
                  as blank for SalesAgreement or
                  SalesAgreementProduct.</p>
              </td>

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

              <td class="entry" headers="d42873e50" data-title="Available Version">51.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d42873e42" data-title="Name"><samp class="codeph nolang">sourceObjectId</samp></td>

              <td class="entry" headers="d42873e44" data-title="Type">String</td>

              <td class="entry" headers="d42873e46" data-title="Description">ID of the source object containing the mapping
                definition used to create the sales agreement
                record.</td>

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

              <td class="entry" headers="d42873e50" data-title="Available Version">51.0</td>

            </tr>
          </tbody>
        </table>