---
title: >-
  Minimum purchase prerequisites added to REST Admin API Price Rules - 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/minimum-purchase-prerequisites-added-to-rest-admin-api-price-rules
  md: >-
    https://shopify.dev/changelog/minimum-purchase-prerequisites-added-to-rest-admin-api-price-rules.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2020-09-09T14:50:44-04:00'
  postedAt: '2020-09-09T00:00:00-04:00'
  updatedAt: '2024-02-02T10:04:58-05:00'
  effectiveAt: '2020-09-09T00:00:00-04:00'
---

September 9, 2020

Tags:

* API

# Minimum purchase prerequisites added to REST Admin API Price Rules

Apps can now create BXGY discounts with a minimum purchase amount prerequisite via the REST Admin API.

A new `prerequisite_to_entitlement_purchase` field was added that defines the minimum purchase amount required to qualify for the discount.

For more information, visit the [Price Rules API reference.](https://shopify.dev/docs/admin-api/rest/reference/discounts/pricerule)
