<div class="doc-version" data-version="unstable"> <p>The condition for checking the minimum subtotal amount of the product.</p> <h2 id="input-fields-unstable">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> ids (<a href="/api/functions/reference/order-discounts/graphql/scalar#id-unstable"><code>[ID!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>Variant IDs with a merchandise line price that's included to calculate the minimum subtotal amount of a product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> minimumAmount (<a href="/api/functions/reference/order-discounts/graphql/scalar#decimal-unstable"><code>Decimal!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The minimum subtotal amount of the product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> targetType (<a href="/api/functions/reference/order-discounts/graphql/common-objects/targettype"><code>TargetType!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The target type of the condition.</p> <p>The value is validated against: = "PRODUCT_VARIANT".</p> </div> </li> </ul> </div> <div class="doc-version doc-version--rc" data-version="2025-04"> <p>The condition for checking the minimum subtotal amount of the product.</p> <h2 id="input-fields-2025-04">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> ids (<a href="/api/functions/reference/order-discounts/graphql/scalar#id-2025-04"><code>[ID!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>Variant IDs with a merchandise line price that's included to calculate the minimum subtotal amount of a product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> minimumAmount (<a href="/api/functions/reference/order-discounts/graphql/scalar#decimal-2025-04"><code>Decimal!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The minimum subtotal amount of the product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> targetType (<a href="/api/functions/reference/order-discounts/graphql/common-objects/targettype"><code>TargetType!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The target type of the condition.</p> <p>The value is validated against: = "PRODUCT_VARIANT".</p> </div> </li> </ul> </div> <div class="doc-version doc-version--latest selected" data-version="2025-01"> <p>The condition for checking the minimum subtotal amount of the product.</p> <h2 id="input-fields-2025-01">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> ids (<a href="/api/functions/reference/order-discounts/graphql/scalar#id-2025-01"><code>[ID!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>Variant IDs with a merchandise line price that's included to calculate the minimum subtotal amount of a product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> minimumAmount (<a href="/api/functions/reference/order-discounts/graphql/scalar#decimal-2025-01"><code>Decimal!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The minimum subtotal amount of the product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> targetType (<a href="/api/functions/reference/order-discounts/graphql/common-objects/targettype"><code>TargetType!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The target type of the condition.</p> <p>The value is validated against: = "PRODUCT_VARIANT".</p> </div> </li> </ul> </div> <div class="doc-version" data-version="2024-10"> <p>The condition for checking the minimum subtotal amount of the product.</p> <h2 id="input-fields-2024-10">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> ids (<a href="/api/functions/reference/order-discounts/graphql/scalar#id-2024-10"><code>[ID!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>Variant IDs with a merchandise line price that's included to calculate the minimum subtotal amount of a product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> minimumAmount (<a href="/api/functions/reference/order-discounts/graphql/scalar#decimal-2024-10"><code>Decimal!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The minimum subtotal amount of the product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> targetType (<a href="/api/functions/reference/order-discounts/graphql/common-objects/targettype"><code>TargetType!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The target type of the condition.</p> <p>The value is validated against: = "PRODUCT_VARIANT".</p> </div> </li> </ul> </div> <div class="doc-version" data-version="2024-07"> <p>The condition for checking the minimum subtotal amount of the product.</p> <h2 id="input-fields-2024-07">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> ids (<a href="/api/functions/reference/order-discounts/graphql/scalar#id-2024-07"><code>[ID!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>Variant IDs with a merchandise line price that's included to calculate the minimum subtotal amount of a product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> minimumAmount (<a href="/api/functions/reference/order-discounts/graphql/scalar#decimal-2024-07"><code>Decimal!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The minimum subtotal amount of the product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> targetType (<a href="/api/functions/reference/order-discounts/graphql/common-objects/targettype"><code>TargetType!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The target type of the condition.</p> <p>The value is validated against: = "PRODUCT_VARIANT".</p> </div> </li> </ul> </div> <div class="doc-version" data-version="2024-04"> <p>The condition for checking the minimum subtotal amount of the product.</p> <h2 id="input-fields-2024-04">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> ids (<a href="/api/functions/reference/order-discounts/graphql/scalar#id-2024-04"><code>[ID!]!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>Variant IDs with a merchandise line price that's included to calculate the minimum subtotal amount of a product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> minimumAmount (<a href="/api/functions/reference/order-discounts/graphql/scalar#decimal-2024-04"><code>Decimal!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The minimum subtotal amount of the product.</p> </div> </li> <li> <div class="field"> <div class="field-name"> targetType (<a href="/api/functions/reference/order-discounts/graphql/common-objects/targettype"><code>TargetType!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The target type of the condition.</p> <p>The value is validated against: = "PRODUCT_VARIANT".</p> </div> </li> </ul> </div>