> ## 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.

# DiscountOfferCartProductsCondition

> Matches on the listed products in the cart.

**match** `[ListMatch!](/docs/api-reference/v3/reference/common/list-match)` *required*

Which of the listed products the cart must hold.

**products** `[\[DiscountOfferCartProduct!\]!](/docs/api-reference/v3/reference/commerce-agent/discount-offer-cart-product)` *required*

The listed products.

**fields**

**productId** `String!` *required*

The store platform's product id, Shopify or BigCommerce.

**variantIds** `[String!]!` *required*

Only these variants match. Empty means every variant.


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