---
title: "DiscountMinimumQuantity"
description: "The lowest number of items needed to apply 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-minimum-quantity'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-minimum-quantity.md'
---
# DiscountMinimumQuantity

The lowest number of items needed to apply the discount.

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

## Type Signature

`DiscountMinimumQuantity`

## Fields

* `greaterThanOrEqualToQuantity`

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

  The smallest number of items needed to apply the discount.

## Schema Definition

```graphql
type DiscountMinimumQuantity { 
	greaterThanOrEqualToQuantity: Int! 
}
```

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

