---
title: DiscountProducts - GraphQL Admin
description: >-
  A list of products and product variants that the discount can have as a
  prerequisite or a list of products and product variants to which the discount
  can be applied.
api_version: unstable
api_name: admin
source_url:
  html: 'https://shopify.dev/docs/api/admin-graphql/unstable/objects/DiscountProducts'
  md: >-
    https://shopify.dev/docs/api/admin-graphql/unstable/objects/DiscountProducts.md
---

# Discount​Products

object

Requires Apps must have `read_discounts` access scope.

A list of products and product variants that the discount can have as a prerequisite or a list of products and product variants to which the discount can be applied.

## Fields

* products

  [Product​Connection!](https://shopify.dev/docs/api/admin-graphql/unstable/connections/ProductConnection)

  non-null

  The list of products that the discount can have as a prerequisite or the list of products to which the discount can be applied.

  * first

    [Int](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Int)

    ### Arguments

    The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).

  * after

    [String](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String)

    The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).

  * last

    [Int](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Int)

    The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).

  * before

    [String](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String)

    The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).

  * reverse

    [Boolean](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Boolean)

    Default:false

    Reverse the order of the underlying list.

  ***

* product​Variants

  [Product​Variant​Connection!](https://shopify.dev/docs/api/admin-graphql/unstable/connections/ProductVariantConnection)

  non-null

  The list of product variants that the discount can have as a prerequisite or the list of product variants to which the discount can be applied.

  * first

    [Int](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Int)

    ### Arguments

    The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).

  * after

    [String](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String)

    The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).

  * last

    [Int](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Int)

    The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).

  * before

    [String](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String)

    The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).

  * reverse

    [Boolean](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Boolean)

    Default:false

    Reverse the order of the underlying list.

  ***

***

## Map

### Possible type in

* [Discount​Items](https://shopify.dev/docs/api/admin-graphql/unstable/unions/DiscountItems)
