---
title: >-
  Discounts API - New fixed amount option for Buy X Get Y discount - 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/discounts-api-new-fixed-amount-option-for-buy-x-get-y-discount
  md: >-
    https://shopify.dev/changelog/discounts-api-new-fixed-amount-option-for-buy-x-get-y-discount.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2023-10-10T09:52:29-04:00'
  postedAt: '2024-01-01T09:00:00-05:00'
  updatedAt: '2024-02-02T10:05:17-05:00'
  effectiveAt: '2024-01-01T09:00:00-05:00'
---

January 1, 2024

Tags:

* API

# Discounts API - New fixed amount option for Buy X Get Y discount

Buy X Get Y discounts now support setting a fixed amount discount. This new option can be utilized alongside the existing percentage or free item discount options for a minimum qualifying purchase.

Use this option to create promotions such as “Buy 2 items, get $20 off”. This option is available as both an automatic discount or a discount code using the Discounts GraphQL API.

For more details on how to implement this new feature, refer to our [API Guide](https://shopify.dev/docs/api/admin-graphql) in the Shopify Developer Documentation.
