Discounts API - New Buy X Get Y option
API
Effective October 06, 2019
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.