Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Discounts API - New Buy X Get Y option

API

Buy X Get Y discounts now support setting a minimum purchase amount to qualify for the discount. This option can be used instead of requiring a specific quantity of items a customer must buy. Use this new option to create promotions such as “Spend $100, get a free gift,” or “Spend $200 on skincare, get 50% off a water bottle.”

This option is available as both an automatic discount or a discount code using the Discounts GraphQL API.

You can learn more about this new option in our Discounts API Guide in the Shopify Help Center.