Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi,
We have an external domain with our ReactJS app. What we'd like to do is allow a user to enter a discount code and for us to query whether that code exists in Shopify.
Any calls to an endpoint will result in a CORS error
As far as I'm aware we can't connect to the Admin API remotely and the Storefront API doesn't have the functionality to look this up?
I don't need any details other than if the code exists and is active.
Any help would be greatly appreciated.
Thanks