<div class="doc-version" data-version="unstable">
  <p>The output of the Function run target.
The object contains the list of discounts and strategies to apply to each item
in a cart.</p>
  <h2 id="input-fields-unstable">Fields</h2>
  <ul class="fields-list">
      <li>
        <div class="field">
          <div class="field-name">
            discountApplicationStrategy
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The approach that determines how multiple discounts are evaluated and
applied to a cart. You can apply all discounts with conditions that are met,
apply only the first discount with conditions met, or apply only the discount
that offers a maximum price reduction.</p>
        </div>
      </li>
      <li>
        <div class="field">
          <div class="field-name">
            discounts
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The list of discounts that are applied to product variants or line items in a cart.
It includes data such as the discount value and the message associated with the discount.</p>
        </div>
      </li>
  </ul>
</div>
<div class="doc-version doc-version--rc" data-version="2025-07">
  <p>The output of the Function run target.
The object contains the list of discounts and strategies to apply to each item
in a cart.</p>
  <h2 id="input-fields-2025-07">Fields</h2>
  <ul class="fields-list">
      <li>
        <div class="field">
          <div class="field-name">
            discountApplicationStrategy
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The approach that determines how multiple discounts are evaluated and
applied to a cart. You can apply all discounts with conditions that are met,
apply only the first discount with conditions met, or apply only the discount
that offers a maximum price reduction.</p>
        </div>
      </li>
      <li>
        <div class="field">
          <div class="field-name">
            discounts
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The list of discounts that are applied to product variants or line items in a cart.
It includes data such as the discount value and the message associated with the discount.</p>
        </div>
      </li>
  </ul>
</div>
<div class="doc-version doc-version--latest selected" data-version="2025-04">
  <p>The output of the Function run target.
The object contains the list of discounts and strategies to apply to each item
in a cart.</p>
  <h2 id="input-fields-2025-04">Fields</h2>
  <ul class="fields-list">
      <li>
        <div class="field">
          <div class="field-name">
            discountApplicationStrategy
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The approach that determines how multiple discounts are evaluated and
applied to a cart. You can apply all discounts with conditions that are met,
apply only the first discount with conditions met, or apply only the discount
that offers a maximum price reduction.</p>
        </div>
      </li>
      <li>
        <div class="field">
          <div class="field-name">
            discounts
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The list of discounts that are applied to product variants or line items in a cart.
It includes data such as the discount value and the message associated with the discount.</p>
        </div>
      </li>
  </ul>
</div>
<div class="doc-version" data-version="2025-01">
  <p>The output of the Function run target.
The object contains the list of discounts and strategies to apply to each item
in a cart.</p>
  <h2 id="input-fields-2025-01">Fields</h2>
  <ul class="fields-list">
      <li>
        <div class="field">
          <div class="field-name">
            discountApplicationStrategy
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The approach that determines how multiple discounts are evaluated and
applied to a cart. You can apply all discounts with conditions that are met,
apply only the first discount with conditions met, or apply only the discount
that offers a maximum price reduction.</p>
        </div>
      </li>
      <li>
        <div class="field">
          <div class="field-name">
            discounts
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The list of discounts that are applied to product variants or line items in a cart.
It includes data such as the discount value and the message associated with the discount.</p>
        </div>
      </li>
  </ul>
</div>
<div class="doc-version" data-version="2024-10">
  <p>The output of the Function run target.
The object contains the list of discounts and strategies to apply to each item
in a cart.</p>
  <h2 id="input-fields-2024-10">Fields</h2>
  <ul class="fields-list">
      <li>
        <div class="field">
          <div class="field-name">
            discountApplicationStrategy
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The approach that determines how multiple discounts are evaluated and
applied to a cart. You can apply all discounts with conditions that are met,
apply only the first discount with conditions met, or apply only the discount
that offers a maximum price reduction.</p>
        </div>
      </li>
      <li>
        <div class="field">
          <div class="field-name">
            discounts
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The list of discounts that are applied to product variants or line items in a cart.
It includes data such as the discount value and the message associated with the discount.</p>
        </div>
      </li>
  </ul>
</div>
<div class="doc-version" data-version="2024-07">
  <p>The output of the Function run target.
The object contains the list of discounts and strategies to apply to each item
in a cart.</p>
  <h2 id="input-fields-2024-07">Fields</h2>
  <ul class="fields-list">
      <li>
        <div class="field">
          <div class="field-name">
            discountApplicationStrategy
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The approach that determines how multiple discounts are evaluated and
applied to a cart. You can apply all discounts with conditions that are met,
apply only the first discount with conditions met, or apply only the discount
that offers a maximum price reduction.</p>
        </div>
      </li>
      <li>
        <div class="field">
          <div class="field-name">
            discounts
            (<a href="/api/functions/reference/product-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>)
              <span class="heading-flag">Required</span>
          </div>
        </div>
        <div>
          <p>The list of discounts that are applied to product variants or line items in a cart.
It includes data such as the discount value and the message associated with the discount.</p>
        </div>
      </li>
  </ul>
</div>