# PriceRuleInput - admin-graphql - INPUT_OBJECT Version: 2024-07 ## Description The input fields to manipulate a price rule. ### Access Scopes ## Fields * [allocationLimit](/docs/api/admin-graphql/2024-07/scalars/Int): Int - The maximum number of times that the price rule can be allocated onto an order. * [allocationMethod](/docs/api/admin-graphql/2024-07/enums/PriceRuleAllocationMethod): PriceRuleAllocationMethod - The method by which the price rule's value is allocated to its entitled items. * [combinesWith](/docs/api/admin-graphql/2024-07/input-objects/DiscountCombinesWithInput): DiscountCombinesWithInput - The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) that you can use in combination with [Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). * [customerSelection](/docs/api/admin-graphql/2024-07/input-objects/PriceRuleCustomerSelectionInput): PriceRuleCustomerSelectionInput - The customers that can use this price rule. * [entitlementToPrerequisiteQuantityRatio](/docs/api/admin-graphql/2024-07/input-objects/PriceRuleEntitlementToPrerequisiteQuantityRatioInput): PriceRuleEntitlementToPrerequisiteQuantityRatioInput - Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. * [itemEntitlements](/docs/api/admin-graphql/2024-07/input-objects/PriceRuleItemEntitlementsInput): PriceRuleItemEntitlementsInput - The items to which the price rule applies. * [itemPrerequisites](/docs/api/admin-graphql/2024-07/input-objects/PriceRuleItemPrerequisitesInput): PriceRuleItemPrerequisitesInput - The items required for the price rule to be applicable. * [oncePerCustomer](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean - Whether the price rule can be applied only once per customer. * [prerequisiteQuantityRange](/docs/api/admin-graphql/2024-07/input-objects/PriceRuleQuantityRangeInput): PriceRuleQuantityRangeInput - The number of the entitled items must fall within this range for the price rule to be applicable. * [prerequisiteShippingPriceRange](/docs/api/admin-graphql/2024-07/input-objects/PriceRuleMoneyRangeInput): PriceRuleMoneyRangeInput - The shipping cost must fall within this range for the price rule to be applicable. * [prerequisiteSubtotalRange](/docs/api/admin-graphql/2024-07/input-objects/PriceRuleMoneyRangeInput): PriceRuleMoneyRangeInput - The sum of the entitled items subtotal prices must fall within this range for the price rule to be applicable. * [prerequisiteToEntitlementQuantityRatio](/docs/api/admin-graphql/2024-07/input-objects/PriceRulePrerequisiteToEntitlementQuantityRatioInput): PriceRulePrerequisiteToEntitlementQuantityRatioInput - Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. * [shippingEntitlements](/docs/api/admin-graphql/2024-07/input-objects/PriceRuleShippingEntitlementsInput): PriceRuleShippingEntitlementsInput - The shipping lines to which the price rule applies. * [target](/docs/api/admin-graphql/2024-07/enums/PriceRuleTarget): PriceRuleTarget - The type of lines (line_item or shipping_line) to which the price rule applies. * [title](/docs/api/admin-graphql/2024-07/scalars/String): String - Title of the price rule. * [usageLimit](/docs/api/admin-graphql/2024-07/scalars/Int): Int - The maximum number of times that the price rule can be used in total. * [validityPeriod](/docs/api/admin-graphql/2024-07/input-objects/PriceRuleValidityPeriodInput): PriceRuleValidityPeriodInput - PriceRuleValidityPeriod for the price rule. * [value](/docs/api/admin-graphql/2024-07/input-objects/PriceRuleValueInput): PriceRuleValueInput - The value of the price rule. ## Input objects with this input object * [priceRuleCreate](/docs/api/admin-graphql/2024-07/mutations/priceRuleCreate) * [priceRuleUpdate](/docs/api/admin-graphql/2024-07/mutations/priceRuleUpdate) ## Examples