BuyXGetY With min purchase amount bug

Highlighted
Shopify Partner
15 0 0

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
Highlighted
Shopify Staff
Shopify Staff
120 15 19

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? Click Accept as Solution 

0 Likes
Highlighted
Shopify Partner
15 0 0

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