---
title: "DiscountMinimumQuantity"
description: "适用折扣所需的最低商品数量"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-minimum-quantity'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-minimum-quantity.md'
---
# DiscountMinimumQuantity

适用折扣所需的最低商品数量

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

## Type Signature

`DiscountMinimumQuantity`

## Fields

* `greaterThanOrEqualToQuantity`

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

  应用折扣所需的最小商品数量

## Schema Definition

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

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes)。

