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?
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.