> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CheckoutDiscountRuleConditionsInput

> When the rule applies. Send no blocks for a rule that applies to every cart.

**blocks** `[\[CheckoutDiscountRuleConditionBlockInput!\]!](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-condition-block-input)` *required*

Groups of conditions, at most 6 that are not empty.

**fields**

**conditions** `[\[CheckoutDiscountRuleConditionInput!\]!](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-condition-input)` *required*

The conditions. A block with none is dropped.

**fields**

**cartTotal** `[CheckoutDiscountRuleCartTotalConditionInput](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-cart-total-condition-input)`

A cart total condition.

**collections** `[CheckoutDiscountRuleCollectionsConditionInput](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-collections-condition-input)`

A collections condition.

**customerOrderCount** `[CheckoutDiscountRuleCustomerOrderCountConditionInput](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-customer-order-count-condition-input)`

A customer order count condition.

**products** `[CheckoutDiscountRuleProductsConditionInput](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-products-condition-input)`

A products condition.

**conjunction** `[CheckoutDiscountRuleConjunction!](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-conjunction)` *required*

How the conditions in this block combine.

**conjunction** `[CheckoutDiscountRuleConjunction!](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-conjunction)` *required*

How the blocks combine.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.