Buy X Get Y - Discount with minimum purchase amount not found

nstokuca
New Member
3 0 0

Found a strange bug:
If you'll create Buy X Get Y with Minimum quantity of items option - all works fine,
however if you're using Minimum purchase amount option it seems like this price rule doesn't even exists.
There are already multiple questions about this here, but in every case the solution was to use GraphQL API instead of REST. But, I am having this issue with the GraphQL API.

On images below, BXGY2 discount isn't in the returned list unless i change from minimum purchase amount to minimum quantity of items as can be seen on the second image.

price-rules.png

price-rules-2.png

0 Likes
csam
Shopify Staff
Shopify Staff
131 19 21

Hi @nstokuca 

Is this issue still occurring for you? If so, could you please post the x-request-id from a response where the discount is missing from the response? Thanks!

CS | API 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
nstokuca
New Member
3 0 0

Hi @csam 

Yes, it is still ocurring. Here is one request id: ac136e89-7051-4344-acb8-ea380b67e092

0 Likes