---
title: >-
  Pricing validations removed from all API versions - 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/pricing-validations-removed-from-all-api-versions
  md: >-
    https://shopify.dev/changelog/pricing-validations-removed-from-all-api-versions.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2021-01-26T16:13:20-05:00'
  postedAt: '2021-01-27T00:00:00-05:00'
  updatedAt: '2024-02-02T10:04:59-05:00'
  effectiveAt: '2021-01-27T00:00:00-05:00'
---

January 27, 2021

Tags:

* API

# Pricing validations removed from all API versions

In our 2020-04 API version, we added validation requiring the `compare_at_price` field to always be greater than the `price` field on variants.

After further review of use cases around the current use of the `compare_at_price` field, we're reverting the addition of validation between the `price` and `compare_at_price` fields on variants, and notifications about this change as we will be removed from all versions.

If you're currently seeing notifications about this change in your API Health dashboard, you can safely ignore them. If you've already updated your app to handle this breaking change, there's no need for action. Your app will continue to function throughout the revert.
