--- title: QuantityRuleInput - GraphQL Admin description: >- The input fields for the per-order quantity rule to be applied on the product variant. api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/QuantityRuleInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/QuantityRuleInput.txt --- # Quantity​Rule​Input input\_object The input fields for the per-order quantity rule to be applied on the product variant. ## Fields * increment [Int!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/Int) non-null The quantity increment. * maximum [Int](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/Int) Default:null The maximum quantity. * minimum [Int!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/Int) non-null The minimum quantity. * variant​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) non-null Product variant on which to apply the quantity rule. *** ## Mutations using this input * [quantity​Rules​Add.​quantity​Rules](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/quantityRulesAdd#argument-quantityRules) MUTATION *** ## Input objects using this input * [Quantity​Pricing​By​Variant​Update​Input.​quantity​Rules​To​Add](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/QuantityPricingByVariantUpdateInput#field-quantityRulesToAdd) INPUT OBJECT The input fields used to update quantity pricing. *** ## Map ### Mutations using this input * <\~>[quantity​Rules​Add.quantityRules](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/quantityRulesAdd#argument-quantityRules) ### Input objects using this input * [Quantity​Pricing​By​Variant​Update​Input.quantityRulesToAdd](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/QuantityPricingByVariantUpdateInput#field-quantityRulesToAdd)