---
title: DiscountItems - GraphQL Admin
description: >-
  The type used to target the items required for discount eligibility, or the

  items to which the application of a discount might apply. For example, for a

  customer to be eligible for a discount, they're required to add an item from a

  specified collection to their order. Alternatively, a customer might be
  required

  to add a specific product or product variant. When using this type to target

  which items the discount will apply to, the discount might apply to all items
  on

  the order, or to specific products and product variants, or items in a given
  collection.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/admin-graphql/latest/unions/DiscountItems'
  md: 'https://shopify.dev/docs/api/admin-graphql/latest/unions/DiscountItems.md'
api_name: admin
api_type: graphql
type: union
---

# Discount​Items

union

Requires Apps must have `read_discounts` access scope.

The type used to target the items required for discount eligibility, or the items to which the application of a discount might apply. For example, for a customer to be eligible for a discount, they're required to add an item from a specified collection to their order. Alternatively, a customer might be required to add a specific product or product variant. When using this type to target which items the discount will apply to, the discount might apply to all items on the order, or to specific products and product variants, or items in a given collection.

## Fields with this union

* [Discount​Customer​Buys.items](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCustomerBuys#field-DiscountCustomerBuys.fields.items)

  OBJECT

  The prerequisite items and prerequisite value that a customer must have on the order for the discount to be applicable.

* [Discount​Customer​Gets.items](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCustomerGets#field-DiscountCustomerGets.fields.items)

  OBJECT

  The items in the order that qualify for the discount, their quantities, and the total value of the discount.

***

```graphql
union DiscountItems = AllDiscountItems | DiscountCollections | DiscountProducts
```
