BuyXGetY With min purchase amount bug

Enea
Shopify Partner
17 0 2

If you'll create BuyxGetY with Minimum quantity of items option - all works fine,
However, if you're using the Minimum purchase amount option it seems like this price rule doesn't even exists, which doesn't make any sense! 

The following request works for finding the code when it is a min quantity of items but not with min purchase amount. Can someone please advise what to do here?

/admin/discount_codes/lookup.json?code=

 

0 Likes
Kevin_A
Shopify Staff
Shopify Staff
213 27 40

Hey @Enea 

You will want to give the GraphQL API a try for this as I don't believe all the features of the BuyXGetY discounts are implemented in the REST API. 

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 Shopify.dev or the Shopify Web Design and Development Blog

0 Likes
Enea
Shopify Partner
17 0 2

What doesn't make sense is that this works for min quantity but not min purchase amount. Also, now on GraphQL, it looks like code id is equal to the old price rule id. 

0 Likes