---
title: >-
  Minimum requirement is now optional on automatic discounts - 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/posts/minimum-requirement-is-now-optional-on-automatic-discounts
  md: >-
    https://shopify.dev/changelog/posts/minimum-requirement-is-now-optional-on-automatic-discounts.md
metadata:
  effectiveApiVersion: 2025-01
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-10-18T16:01:21-04:00'
  postedAt: '2025-01-01T13:00:00-05:00'
  updatedAt: '2024-10-29T16:50:40-04:00'
  effectiveAt: '2025-01-01T13:00:00-05:00'
---

January 1, 2025

# Minimum requirement is now optional on automatic discounts

DateJanuary 1, 2025

Version[2025-01](https://shopify.dev/changelog?api_version=2025-01)

FlagsUpdate

SurfacesAPI

Affected APIs[Admin GraphQL API](https://shopify.dev/changelog?api_type=admin-graphql)

Previously merchants were required to specify minimum purchase conditions on product, order, and free shipping automatic discounts. We're now making these conditions optional, so the `minimumRequirement` field in our APIs is now able to return a `null` value.

As of version 2025-01, the `minimumRequirement` field for both [DiscountAutomaticBasic](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/DiscountAutomaticBasic#field-minimumrequirement) and [DiscountAutomaticFreeShipping](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/DiscountAutomaticFreeShipping#field-minimumrequirement) will become nullable.
