<div class="doc-version" data-version="unstable"> <p>The run target result. In API versions 2023-10 and beyond, this type is deprecated in favor of <code>FunctionRunResult</code>.</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/order-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The strategy to apply the list of discounts.</p> </div> </li> <li> <div class="field"> <div class="field-name"> discounts (<a href="/api/functions/reference/order-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The list of discounts to be applied.</p> </div> </li> </ul> </div> <div class="doc-version doc-version--rc" data-version="2025-04"> <p>The run target result. In API versions 2023-10 and beyond, this type is deprecated in favor of <code>FunctionRunResult</code>.</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/order-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The strategy to apply the list of discounts.</p> </div> </li> <li> <div class="field"> <div class="field-name"> discounts (<a href="/api/functions/reference/order-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The list of discounts to be applied.</p> </div> </li> </ul> </div> <div class="doc-version doc-version--latest selected" data-version="2025-01"> <p>The run target result. In API versions 2023-10 and beyond, this type is deprecated in favor of <code>FunctionRunResult</code>.</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/order-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The strategy to apply the list of discounts.</p> </div> </li> <li> <div class="field"> <div class="field-name"> discounts (<a href="/api/functions/reference/order-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The list of discounts to be applied.</p> </div> </li> </ul> </div> <div class="doc-version" data-version="2024-10"> <p>The run target result. In API versions 2023-10 and beyond, this type is deprecated in favor of <code>FunctionRunResult</code>.</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/order-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The strategy to apply the list of discounts.</p> </div> </li> <li> <div class="field"> <div class="field-name"> discounts (<a href="/api/functions/reference/order-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The list of discounts to be applied.</p> </div> </li> </ul> </div> <div class="doc-version" data-version="2024-07"> <p>The run target result. In API versions 2023-10 and beyond, this type is deprecated in favor of <code>FunctionRunResult</code>.</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/order-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The strategy to apply the list of discounts.</p> </div> </li> <li> <div class="field"> <div class="field-name"> discounts (<a href="/api/functions/reference/order-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The list of discounts to be applied.</p> </div> </li> </ul> </div> <div class="doc-version" data-version="2024-04"> <p>The run target result. In API versions 2023-10 and beyond, this type is deprecated in favor of <code>FunctionRunResult</code>.</p> <h2 id="input-fields-2024-04">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> discountApplicationStrategy (<a href="/api/functions/reference/order-discounts/graphql/common-objects/discountapplicationstrategy"><code>DiscountApplicationStrategy!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The strategy to apply the list of discounts.</p> </div> </li> <li> <div class="field"> <div class="field-name"> discounts (<a href="/api/functions/reference/order-discounts/graphql/common-objects/discount"><code>[Discount!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The list of discounts to be applied.</p> </div> </li> </ul> </div>