---
schema_version: "1"
id: 42b1ba7bbfb34ab57f56074daa1b636f26c9143d31adbb0966055e142cd06ea9
title: ConnectApi.PromotionCartItemPriceAdjustment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_promotion_cart_item_price_adjustment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_promotion_cart_item_price_adjustment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8ee9b217178eabc3ace2996814c902b25461b0465af56da9e3994bf8d12171d6
description: Price adjustments applied to a cart item.
---
# ConnectApi.PromotionCartItemPriceAdjustment

Price adjustments applied to a cart item.

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




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

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

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

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

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">adjustmentAmount​Scope</samp></td>

              <td class="entry" headers="d1181851e49" data-title="Type"><samp class="codeph apex_code"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#AdjustmentAmountScopeEnum">ConnectApi.​AdjustmentAmount​Scope</a></samp></td>

              <td class="entry" headers="d1181851e52" data-title="Description"> Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph apex_code">Total</samp>—The adjustment scope is the total price.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Unit</samp>—The adjustment scope is the unit price.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">UnproratedTotal</samp>—The adjustment scope is the unprorated total price.
                  </li>
                </ul>
              </td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">adjustmentBasis​Reference</samp></td>

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

              <td class="entry" headers="d1181851e52" data-title="Description">ID of the associated coupon, if applicable.</td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">adjustment​Description</samp></td>

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

              <td class="entry" headers="d1181851e52" data-title="Description">Description of the adjustment.</td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">adjustmentTarget​Type</samp></td>

              <td class="entry" headers="d1181851e49" data-title="Type"><samp class="codeph apex_code"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#CartPromotionTypeEnum">ConnectApi.​CartPromotionType</a></samp></td>

              <td class="entry" headers="d1181851e52" data-title="Description"> Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph apex_code">Total</samp>—The adjustment scope is the total price.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Unit</samp>—The adjustment scope is the unit price.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">UnproratedTotal</samp>—The adjustment scope is the unprorated total price.
                  </li>
                </ul>
              </td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">adjustmentType</samp></td>

              <td class="entry" headers="d1181851e49" data-title="Type"><samp class="codeph apex_code"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#AdjustmentTypeEnum">ConnectApi.​AdjustmentType</a></samp></td>

              <td class="entry" headers="d1181851e52" data-title="Description"> Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph apex_code">Total</samp>—The adjustment scope is the total price.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Unit</samp>—The adjustment scope is the unit price.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">UnproratedTotal</samp>—The adjustment scope is the unprorated total price.
                  </li>
                </ul>
              </td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">adjustmentValue</samp></td>

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

              <td class="entry" headers="d1181851e52" data-title="Description">Value of the price adjustment.</td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">baseAmount</samp></td>

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

              <td class="entry" headers="d1181851e52" data-title="Description">Total adjustment amount.</td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">cartAdjustment​GroupId</samp></td>

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

              <td class="entry" headers="d1181851e52" data-title="Description">ID of the associated cart adjustment group.</td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">cartItemId</samp></td>

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

              <td class="entry" headers="d1181851e52" data-title="Description">ID of the associated cart item.</td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">id</samp></td>

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

              <td class="entry" headers="d1181851e52" data-title="Description">ID of the cart item price adjustment.</td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">priceAdjustment​CauseId</samp></td>

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

              <td class="entry" headers="d1181851e52" data-title="Description">ID of the associated promotion.</td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1181851e46" data-title="Property Name"><samp class="codeph apex_code">priority</samp></td>

              <td class="entry" headers="d1181851e49" data-title="Type">Integer</td>

              <td class="entry" headers="d1181851e52" data-title="Description">Where in the sequence of adjustments this adjustment was applied.</td>

              <td class="entry" headers="d1181851e55" data-title="Available Version">57.0</td>

            </tr>

          </tbody>

        </table>

#### See Also

- [ConnectApi.PromotionCartItem](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_promotion_cart_item.htm "A cart item and its adjustments.")
- [ConnectApi.PromotionCart](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_promotion_cart.htm "A cart, its items, and its adjustment groups.")
- [ConnectApi.PromotionEvaluation](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_promotion_evaluation.htm "Results of a promotion evaluation.")
- [evaluate(salesTransaction)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CommercePromotions_static_methods.htm#apex_ConnectAPI_CommercePromotions_evaluate_1 "Determine which promotions the customer is eligible for based on the store and buyer group, and compute the applicable price adjustments based on the coupons and the items in the cart. This API evaluates only the first 50 active manual promotions and first 50 active automatic promotions, based on priority. This API computes and returns applicable price adjustments, but it does not apply those adjustments to the webcart record. If you want to enable promotions based on shipping, contact Salesforce Customer Support.")