---
schema_version: "1"
id: 1f74933697506f7dcc114070df906defdb72680545b09e35377e7aadfe39cee4
title: ConnectApi.CartItem
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_cart_item.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_cart_item.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ebb689ee079ccd03c454681fff9a710b02806dd9946664251fe88b216d5f4075
description: An item in a cart.
---
# ConnectApi.CartItem

An item in a cart.

Subclass of [ConnectApi.AbstractCartItem](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_abstract_cart_item.htm "A cart item.").

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




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

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

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

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

              </tr>

            </thead>

            <tbody class="tbody">
              <tr>
                <td class="entry" headers="d839733e44" data-title="Property Name"><samp class="codeph apex_code">currencyIsoCode</samp></td>

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

                <td class="entry" headers="d839733e50" data-title="Description">Currency ISO code of the cart.</td>

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

              </tr>

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

                <td class="entry" headers="d839733e47" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_cart_item_collection.htm" title="A collection of items in a cart."><samp class="codeph apex_code">ConnectApi.​CartItemCollection</samp></a></td>

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="cartData"><a name="cartData"><!-- --></a>Collection of items in the cart.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">64.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d839733e44" data-title="Property Name"><samp class="codeph apex_code">firstPymt​TotalAmount</samp></td>

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="firstPymtTotalAmount"><a name="firstPymtTotalAmount"><!-- --></a>For subscription items, the first payment amount
                    after adjustments and taxes. For non-subscription products, the value is the same
                    as <samp class="codeph nolang">totalAmount</samp>.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">60.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d839733e44" data-title="Property Name"><samp class="codeph apex_code">firstPymt​TotalListPrice</samp></td>

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="firstPymtTotalListPrice"><a name="firstPymtTotalListPrice"><!-- --></a>For subscription items, the total list price
                    of the first payment. For non-subscription items, the value is the same as <samp class="codeph nolang">totalListPrice</samp>.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">63.0</td>

              </tr>

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

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="firstPymtTotalPrice"><a name="firstPymtTotalPrice"><!-- --></a>For subscription items, the first term price,
                    including adjustments but excluding taxes. For non-subscription items, the total
                    price, including adjustments but excluding taxes.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">60.0</td>

              </tr>

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

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="firstPymtTotalTax"><a name="firstPymtTotalTax"><!-- --></a>For subscription items, the tax amount on the first
                    payment. For non-subscription products, the value is the same as <samp class="codeph nolang">totalTax</samp>.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">60.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d839733e44" data-title="Property Name"><samp class="codeph apex_code">itemizedAdjustment​Amount</samp></td>

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="itemizedAdjustedAmount"><a name="itemizedAdjustedAmount"><!-- --></a>Total itemized adjustment amount for the item,
                    including promotions and excluding taxes.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">52.0</td>

              </tr>

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

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="listPrice"><a name="listPrice"><!-- --></a>List price for the item.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">49.0</td>

              </tr>

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

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

                <td class="entry" headers="d839733e50" data-title="Description">Class of product.
                  Values are:<ul class="ul bulletList">
                    <li class="li"><samp class="codeph apex_code">Bundle</samp></li>
                    <li class="li"><samp class="codeph apex_code">Set</samp></li>
                    <li class="li"><samp class="codeph apex_code">Simple</samp></li>
                    <li class="li"><samp class="codeph apex_code">Variation</samp></li>
                    <li class="li"><samp class="codeph apex_code">VariationParent</samp></li>
                  </ul>
                </td>

                <td class="entry" headers="d839733e53" data-title="Available Version">62.0</td>

              </tr>

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

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="negotiatedPrice"><a name="negotiatedPrice"><!-- --></a>Sales price for the item.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">49.0</td>

              </tr>

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

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="totalAdjustmentAmount"><a name="totalAdjustmentAmount"><!-- --></a>Total adjustment amount for the
                    item.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">50.0</td>

              </tr>

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

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="totalAmount"><a name="totalAmount"><!-- --></a>Total amount for the item.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">49.0</td>

              </tr>

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

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="totalListPrice"><a name="totalListPrice"><!-- --></a>Total list price for the item.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">49.0</td>

              </tr>

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

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="totalPrice"><a name="totalPrice"><!-- --></a>Total price for the item including adjustments but
                    excluding taxes.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">49.0</td>

              </tr>

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

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

                <td class="entry" headers="d839733e50" data-title="Description"><span class="ph" id="totalTax"><a name="totalTax"><!-- --></a>Total tax for the item.</span></td>

                <td class="entry" headers="d839733e53" data-title="Available Version">49.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d839733e44" data-title="Property Name"><samp class="codeph apex_code">unitAdjusted​Price</samp></td>

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

                <td class="entry" headers="d839733e50" data-title="Description">
                  <span class="ph" id="unitAdjustedPrice"><a name="unitAdjustedPrice"><!-- --></a>Unit price, including tier level discounts, for the
                    item.</span><span class="ph" id="unitPriceNote"><a name="unitPriceNote"><!-- --></a> This value is informational only and isn’t used
                    in pricing calculations.</span>
                </td>

                <td class="entry" headers="d839733e53" data-title="Available Version">50.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d839733e44" data-title="Property Name"><samp class="codeph apex_code">unitAdjusted​PriceWith​ItemAdj</samp></td>

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

                <td class="entry" headers="d839733e50" data-title="Description">
                  <span class="ph" id="unitAdjustedPriceWithItemAdj"><a name="unitAdjustedPriceWithItemAdj"><!-- --></a>Unit price, including both tier and item
                    level discounts, for the item.</span>This value is informational only and isn’t used in pricing calculations.
                </td>

                <td class="entry" headers="d839733e53" data-title="Available Version">61.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d839733e44" data-title="Property Name"><samp class="codeph apex_code">unitAdjustment​Amount</samp></td>

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

                <td class="entry" headers="d839733e50" data-title="Description">
                  <span class="ph" id="unitAdjustmentAmount"><a name="unitAdjustmentAmount"><!-- --></a>Tier level adjustments made to the unit price for
                    the item.</span>This value is informational only and isn’t used in pricing calculations.
                </td>

                <td class="entry" headers="d839733e53" data-title="Available Version">50.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d839733e44" data-title="Property Name"><samp class="codeph apex_code">unitItem​Adjustment​Amount</samp></td>

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

                <td class="entry" headers="d839733e50" data-title="Description">
                  <span class="ph" id="unitItemAdjustmentAmount"><a name="unitItemAdjustmentAmount"><!-- --></a>Item level adjustments made to the unit price
                    for the item.</span>This value is informational only and isn’t used in pricing calculations.
                </td>

                <td class="entry" headers="d839733e53" data-title="Available Version">61.0</td>

              </tr>

            </tbody>

          </table>