Price Rule Input
The input fields to manipulate a price rule.
Anchor to FieldsFields
- Anchor to allocationLimitallocation•Int
Limit The maximum number of times that the price rule can be allocated onto an order.
- Anchor to allocationMethodallocation•Price
Method Rule Allocation Method The method by which the price rule's value is allocated to its entitled items.
- Anchor to combinesWithcombines•Discount
With Combines With Input The discount class that you can use in combination with Shopify discount types.
- Anchor to customerSelectioncustomer•Price
Selection Rule Customer Selection Input The customers that can use this price rule.
- Anchor to itemEntitlementsitem•Price
Entitlements Rule Item Entitlements Input The items to which the price rule applies.
- Anchor to itemPrerequisitesitem•Price
Prerequisites Rule Item Prerequisites Input The items required for the price rule to be applicable.
- Anchor to oncePerCustomeronce•BooleanDefault:false
Per Customer Whether the price rule can be applied only once per customer.
- Anchor to prerequisiteQuantityRangeprerequisite•Price
Quantity Range Rule Quantity Range Input The number of the entitled items must fall within this range for the price rule to be applicable.
- Anchor to prerequisiteShippingPriceRangeprerequisite•Price
Shipping Price Range Rule Money Range Input The shipping cost must fall within this range for the price rule to be applicable.
- Anchor to prerequisiteSubtotalRangeprerequisite•Price
Subtotal Range Rule Money Range Input The sum of the entitled items subtotal prices must fall within this range for the price rule to be applicable.
- Anchor to prerequisiteToEntitlementQuantityRatioprerequisite•Price
To Entitlement Quantity Ratio Rule Prerequisite To Entitlement Quantity Ratio Input Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.
- Anchor to shippingEntitlementsshipping•Price
Entitlements Rule Shipping Entitlements Input The shipping lines to which the price rule applies.
- Anchor to targettarget•Price
Rule Target The type of lines (line_item or shipping_line) to which the price rule applies.
- Anchor to titletitle•String
Title of the price rule.
- Anchor to usageLimitusage•Int
Limit The maximum number of times that the price rule can be used in total.
- Anchor to validityPeriodvalidity•Price
Period Rule Validity Period Input PriceRuleValidityPeriod for the price rule.
- Anchor to valuevalue•Price
Rule Value Input The value of the price rule.
- Anchor to entitlementToPrerequisiteQuantityRatioentitlement•Price
To Prerequisite Quantity Ratio Rule Entitlement To Prerequisite Quantity Ratio InputDeprecated