---
schema_version: "1"
id: e4ccda79a8fd54634544749496fc7c7cc1688e9621f37376d4e40854d1d9de8f
title: ConnectApi.PromotionCartAdjustmentGroup
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_promotion_cart_adjustment_group.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_promotion_cart_adjustment_group.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b9eab63c35279708a199ffa5d3bab8c432443ea9ad1dd5401eec5118de88ccc4
description: Adjustment group associated with a cart.
---
# ConnectApi.PromotionCartAdjustmentGroup

Adjustment group associated with a cart.

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




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

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

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

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

            </tr>

          </thead>

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

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

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

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

            </tr>

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

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

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

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

            </tr>

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

              <td class="entry" headers="d1179270e49" 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="d1179270e52" data-title="Description"> Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph apex_code">AdjustmentAmount</samp>—The adjustment is a fixed amount.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">AdjustmentPercentage</samp>—The adjustment is a percentage.
                  </li>
                </ul>
              </td>

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

            </tr>

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

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

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

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

            </tr>

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

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

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

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

            </tr>

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

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

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

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

            </tr>

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

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

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

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

            </tr>

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

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

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

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

            </tr>

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

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

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

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

            </tr>

          </tbody>

        </table>

#### See Also

- [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.")