---
schema_version: "1"
id: 1c8d928fc4f1627ed7bdca038f962b76e7c0733c2214a48efee8f79908b1cac2
title: ConnectApi.PromotionCartItem
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_promotion_cart_item.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_promotion_cart_item.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fe5bc05b7a1f194df432109bf3a2f45ff4510f0cfc89aaeaea087d71366a55ae
description: A cart item and its adjustments.
---
# ConnectApi.PromotionCartItem

A cart item and its adjustments.

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




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

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

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

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

            </tr>

          </thead>

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

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

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

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

            </tr>

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

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

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

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

            </tr>

            <tr>
              <td class="entry" headers="d1180237e46" data-title="Property Name"><samp class="codeph apex_code">cartItemPrice​Adjustments</samp></td>

              <td class="entry" headers="d1180237e49" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list" title="Contains methods for the List collection type.">List</a>&lt;<samp class="codeph apex_code"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_promotion_cart_item_price_adjustment.htm" title="Price adjustments applied to a cart item.">ConnectApi.PromotionCartItemPriceAdjustment</a></samp>&gt;
              </td>

              <td class="entry" headers="d1180237e52" data-title="Description">List of price adjustments applied to the cart item.</td>

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

            </tr>

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

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

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

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

            </tr>

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

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

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

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

            </tr>

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

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

              <td class="entry" headers="d1180237e52" data-title="Description">Name of the cart item.</td>

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

            </tr>

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

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

              <td class="entry" headers="d1180237e52" data-title="Description">Unit list price of the cart item.</td>

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

            </tr>

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

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

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

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

            </tr>

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

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

              <td class="entry" headers="d1180237e52" data-title="Description">Quantity of the cart item.</td>

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

            </tr>

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

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

              <td class="entry" headers="d1180237e52" data-title="Description">Unit sales price of the cart item.</td>

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

            </tr>

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

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

              <td class="entry" headers="d1180237e52" data-title="Description">Stock keeping unit of the cart item.</td>

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

            </tr>

            <tr>
              <td class="entry" headers="d1180237e46" data-title="Property Name"><samp class="codeph apex_code">totalAdjustment​BaseAmount</samp></td>

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

              <td class="entry" headers="d1180237e52" data-title="Description">Total adjustment amount for the cart item.</td>

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

            </tr>

            <tr>
              <td class="entry" headers="d1180237e46" data-title="Property Name"><samp class="codeph apex_code">totalLine​BaseAmount</samp></td>

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

              <td class="entry" headers="d1180237e52" data-title="Description">Total amount for the cart item, based on sales price and quantity, not including adjustments.</td>

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

            </tr>

            <tr>
              <td class="entry" headers="d1180237e46" data-title="Property Name"><samp class="codeph apex_code">totalList​BaseAmount</samp></td>

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

              <td class="entry" headers="d1180237e52" data-title="Description">Total amount for the cart item, based on list price and quantity, not including adjustments.</td>

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

            </tr>

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

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

              <td class="entry" headers="d1180237e52" data-title="Description">Total amount for the cart item, based on list price and quantity, including adjustments.</td>

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

            </tr>

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

              <td class="entry" headers="d1180237e49" 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#cartItemTypeEnum">ConnectApi.​CartItemType</a></samp></td>

              <td class="entry" headers="d1180237e52" data-title="Description"> Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph apex_code">Bonus</samp>—A bonus product.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Gift</samp>—A gift product.
                  </li>
                </ul>
              </td>

              <td class="entry" headers="d1180237e55" 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.")