---
title: "AllDiscountItems"
description: "Targets all items the cart for a specified 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/all-discount-items'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/all-discount-items.md'
---
# AllDiscountItems

Targets all items the cart for a specified discount.


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

## Type Signature

`AllDiscountItems`

## Fields

* `allItems`

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

  Whether all items are eligible for the discount. This value always returns true.

## Schema Definition

```graphql
type AllDiscountItems { 
	allItems: Boolean! 
}
```

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

