---
title: "DiscountProducts"
description: >
  A list of products and product variants that can either serve as prerequisites for the discount or be eligible for the discount.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-products'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-products.md'
---
# DiscountProducts

A list of products and product variants that can either serve as prerequisites for the discount or be eligible for the discount.



- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`DiscountProducts`

## Fields

* `productVariants`

  [[String]](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  A list of product variants that can either serve as prerequisites for the discount or be eligible for the discount.

* `products`

  [[String]](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  A list of products that can either serve as prerequisites for the discount or be eligible for the discount.

## Schema Definition

```graphql
type DiscountProducts { 
	productVariants: [String]
	products: [String] 
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

