---
schema_version: "1"
id: 4622001c2de419add4a4351d596965ceaea14c81992b0ef5b8f2b7d7199f2cec
title: ConnectApi.CartCouponCollection
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_cart_coupon_collection.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_cart_coupon_collection.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f7e94d7b556fb7f88753ed9488a01ef84533b7f3be4642df9ed6eaa62eceb1ab
description: Collection of coupons related to a cart.
---
# ConnectApi.CartCouponCollection

Collection of coupons related to a cart.

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




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

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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d835787e53" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_cart_coupon_list.htm" title="List of coupons for a cart."><samp class="codeph apex_code">ConnectApi.CartCouponList</samp></a></td>

              <td class="entry" headers="d835787e56" data-title="Description">
                <span class="ph" id="cartCoupons"><a name="cartCoupons"><!-- --></a>Collection of coupons.</span>
              </td>

              <td class="entry" headers="d835787e59" data-title="Available Version">54.0</td>

            </tr>

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

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

              <td class="entry" headers="d835787e56" data-title="Description">
                <span class="ph" id="cartId"><a name="cartId"><!-- --></a>ID of the cart.</span>
              </td>

              <td class="entry" headers="d835787e59" data-title="Available Version">54.0</td>

            </tr>

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

              <td class="entry" headers="d835787e53" 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="d835787e56" data-title="Description">Status of the cart.
                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="d835787e59" data-title="Available Version">54.0</td>

            </tr>

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

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

              <td class="entry" headers="d835787e56" data-title="Description">
                <span class="ph" id="ownerId"><a name="ownerId"><!-- --></a>ID of the user who owns the cart.</span>
              </td>

              <td class="entry" headers="d835787e59" data-title="Available Version">54.0</td>

            </tr>

          </tbody>

        </table>