Discount code lookup on external domain

New Member
1 0 0


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.


Replies 0 (0)