---
schema_version: "1"
id: 6841e2b38525d69d75e5b6eef622e7584ec40e1c4623b509d63cba98b8bfe3c8
title: ConnectApi.AdjustItemInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_adjust_item.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_adjust_item.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 62b74f876ec024fbadd569f5a9767cb1fcd700c8998bd83749e1b834a7d998bb
description: A price adjustment to an OrderItemSummary. It only supports discounts, not increases.
---
# ConnectApi.AdjustItemInputRepresentation

A price adjustment to an OrderItemSummary. It only supports discounts, not increases.

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




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d549193e47">Property</th>

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

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

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

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

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d549193e47 d549193e59" data-title="Property"><samp class="codeph apex_code">adjustmentType</samp></td>

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

              <td class="entry" headers="d549193e53" data-title="Description">
                <span class="ph" id="adjustmenttype"><a name="adjustmenttype"><!-- --></a>Describes how the amount is calculated. It can have one
                  of these values:</span><a name="adjustmenttypevalues"><!-- --></a>
                <ul class="ul bulletList" id="adjustmenttypevalues">
                  <li class="li">
                    <samp class="codeph apex_code">AmountTaxOnly</samp>—Value of amount
                    is the tax-only adjustment only. Available in version 65.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph apex_code">AmountWithTax</samp>—Value of amount
                    is the adjustment, including tax.
                  </li>

                  <li class="li">
                    <samp class="codeph apex_code">AmountWithoutTax</samp>—Value of
                    amount is the adjustment, not including tax. Tax is calculated on the value and
                    added.
                  </li>

                  <li class="li">
                    <samp class="codeph apex_code">Percentage</samp>—Value of amount is a
                    percentage discount. It is divided by 100, and then multiplied by the TotalPrice
                    and TotalTaxAmount of the OrderItemSummary to determine the adjustment
                    amount.
                  </li>

                  <li class="li">
                    <samp class="codeph apex_code">ProductOnly</samp>——Value of amount is
                    the product-only adjustment only. Available in version 65.0 and later.
                  </li>

                </ul>
              </td>

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

              <td class="entry" headers="d549193e47 d549193e59" data-title="Property">49.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d549193e47 d549193e59" data-title="Property"><samp class="codeph apex_code">amount</samp></td>

              <td class="entry" headers="d549193e50" data-title="Type">Double</td>

              <td class="entry" headers="d549193e53" data-title="Description"><span class="ph" id="amount"><a name="amount"><!-- --></a>Value used to calculate the adjustment amount, as described by
                  the adjustmentType. It must be a negative value.</span></td>

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

              <td class="entry" headers="d549193e47 d549193e59" data-title="Property">49.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d549193e47 d549193e59" data-title="Property"><samp class="codeph apex_code">description</samp></td>

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

              <td class="entry" headers="d549193e53" data-title="Description"><span class="ph" id="description"><a name="description"><!-- --></a>Description of the adjustment.</span></td>

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

              <td class="entry" headers="d549193e47 d549193e59" data-title="Property">49.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d549193e47 d549193e59" data-title="Property"><samp class="codeph apex_code">orderItem​SummaryId</samp></td>

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

              <td class="entry" headers="d549193e53" data-title="Description"><span class="ph" id="orderitemsummaryid"><a name="orderitemsummaryid"><!-- --></a>ID of the OrderItemSummary.</span></td>

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

              <td class="entry" headers="d549193e47 d549193e59" data-title="Property">49.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d549193e47 d549193e59" data-title="Property"><samp class="codeph apex_code">reason</samp></td>

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

              <td class="entry" headers="d549193e53" data-title="Description"><span class="ph" id="reason"><a name="reason"><!-- --></a>Reason for the adjustment. The value must match one of the
                  picklist values on the Reason field of the OrderItemSummaryChange
                  object.</span></td>

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

              <td class="entry" headers="d549193e47 d549193e59" data-title="Property">49.0</td>

            </tr>

          </tbody>

        </table>