Discount Get x Get y Minimum purchase amount

New Member
6 0 0

When i create a discount in Shopify UI DiscountType : Buy X Get Y
Customer spends has Minimum purchase amount that am not able to fetch the discount details based on price rule id using below rest api. (i can see discount is created successfully in the shopify). 

rest api : /admin/api/2020-07/price_rules/718105608348.json

Any help/leads will be appreciated.


Shopify Staff
Shopify Staff
290 35 46

Hey @osf_team_store 

This is expected, these types of discounts won't show in the REST Admin API. You may want to give the GraphQL Admin API a try instead. Here is a great tutorial on creating and managing these types of discounts with GraphQL. 

Kevin_A | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit or the Shopify Web Design and Development Blog