---
title: DiscountOnQuantityInput - GraphQL Admin
description: The input fields for the quantity of items discounted and the discount value.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountOnQuantityInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountOnQuantityInput.md
api_name: admin
api_type: graphql
type: input-object
---

# Discount​On​Quantity​Input

input\_object

The input fields for the quantity of items discounted and the discount value.

## Fields

* effect

  [Discount​Effect​Input](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountEffectInput)

  The percentage value of the discount.

* quantity

  [Unsigned​Int64](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)

  The quantity of items that are discounted.

***

## Input objects using this input

* [Discount​Customer​Gets​Value​Input.discountOnQuantity](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountCustomerGetsValueInput#fields-discountOnQuantity)

  INPUT OBJECT

  The input fields for the quantity of items discounted and the discount value.

***

## Map

### Input objects using this input

* [Discount​Customer​Gets​Value​Input.discountOnQuantity](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountCustomerGetsValueInput#fields-discountOnQuantity)
