---
title: >-
  The PriceRule resource now includes the prerequisite_quantity_range property -
  Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/the-pricerule-resource-now-includes-the-prerequisite_quantity_range-property
  md: >-
    https://shopify.dev/changelog/the-pricerule-resource-now-includes-the-prerequisite_quantity_range-property.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2018-11-29T09:16:29-05:00'
  postedAt: '2018-04-05T09:09:00-04:00'
  updatedAt: '2024-02-02T10:04:52-05:00'
  effectiveAt: '2018-04-05T09:09:00-04:00'
---

April 5, 2018

Tags:

* API

# The PriceRule resource now includes the prerequisite\_quantity\_range property

We're introducing a new `prerequisite_quantity_range` property on PriceRule! You can use this to let merchants selll products with discounts that require a minimum quantity of items.

***

For example, you can now create 20% off on products from specific collections when customer buys 3 items or more. This new property can be used with all discount types: percentage, fixed amount, or free shipping discounts.

See more information in the [PriceRule reference documentation](https://help.shopify.com/en/api/reference/discounts/pricerule).
