---
schema_version: "1"
id: 8362784c0795c9b479f0d712669f9eca8ff86f98df4c368a80cd36b467517a70
title: ConnectApi.CartPromotionCollection
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_cart_promotion_collection.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_cart_promotion_collection.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d3a37cd234e46aec7466da52adc08ef0126b5948463d71044b09ebb0602a3a4e
description: All the promotions associated with the cart.
---
# ConnectApi.CartPromotionCollection

All the promotions associated with the cart.

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d848381e27">Property Name</th>
              <th class="featureTableHeader vertical-align-top " id="d848381e29">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d848381e31">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d848381e33">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d848381e27" data-title="Property Name"><samp class="codeph apex_code">cartId</samp></td>
              <td class="entry" headers="d848381e29" data-title="Type">String</td>
              <td class="entry" headers="d848381e31" data-title="Description"><span class="ph" id="cartId"><a name="cartId"><!-- --></a>ID of the cart.</span></td>
              <td class="entry" headers="d848381e33" data-title="Available Version">53.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d848381e27" data-title="Property Name"><samp class="codeph apex_code">cartStatus</samp></td>
              <td class="entry" headers="d848381e29" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#cartStatusEnum"><samp class="codeph apex_code">ConnectApi.​CartStatus</samp></a></td>
              <td class="entry" headers="d848381e31" data-title="Description">
                <span class="ph" id="cartStatus"><a name="cartStatus"><!-- --></a>Status of the cart.</span> Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph apex_code">Active—</samp>Cart is created and available for modifications, like adding or removing products or promotions.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Checkout—</samp>Cart is in checkout. If the customer modifies the cart, the current checkout session is canceled.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Closed—</samp>Checkout is complete and an order was created. The cart cannot be modified.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">PendingClosed—</samp>Cart is marked to be closed, but the request isn't completed yet. The cart can’t be modified. This value is available in API version 57.0 and later.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">PendingDelete—</samp>Cart is marked for delete, but the request isn't completed yet. The cart can’t be modified.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Processing—</samp>Cart is processing. For example, taxes are being calculated. The cart can’t be modified.
                  </li>
                </ul>
              </td>
              <td class="entry" headers="d848381e33" data-title="Available Version">53.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d848381e27" data-title="Property Name"><samp class="codeph apex_code">currencyIsoCode</samp></td>
              <td class="entry" headers="d848381e29" data-title="Type">String</td>
              <td class="entry" headers="d848381e31" data-title="Description"><span class="ph" id="currencyIsoCode"><a name="currencyIsoCode"><!-- --></a>Currency ISO code of the cart.</span></td>
              <td class="entry" headers="d848381e33" data-title="Available Version">53.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d848381e27" data-title="Property Name"><samp class="codeph apex_code">promotions</samp></td>
              <td class="entry" headers="d848381e29" 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_cart_promotion_list.htm" title="A list of promotions for a cart.">ConnectApi.​CartPromotion​List</a></samp>&gt;
              </td>
              <td class="entry" headers="d848381e31" data-title="Description"><span class="ph" id="promotions"><a name="promotions"><!-- --></a>Collection of promotions.</span></td>
              <td class="entry" headers="d848381e33" data-title="Available Version">53.0</td>
            </tr>
          </tbody>
        </table>