--- title: DiscountOnQuantityInput - GraphQL Admin description: The input fields for the quantity of items discounted and the discount value. api_version: 2025-10 api_name: admin type: input-object api_type: graphql 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 --- # 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)