I'm using discount API https://help.shopify.com/en/api/reference/discounts/discountcode#show-2020-01 and try to get the location of discount code "Buy X get Y" with Minimum purchase amount enabled option with a request like GET /admin/api/2020-01/discount_codes/lookup.json?code=SUMMERSALE10OFF. And in response, I get that there is no such code. But if I change this option to Minimum quantity of items it returns the correct location of this discount.
Solved! Go to the solution
As this is a newer feature, the minimum $ purchase BXGY is only returned on the GraphQL Admin API.
Vix | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
|an hour ago|
|3 hours ago|