We are making a mobile game and on level completion in game, we want to show a discount code to user. that discount code will come from our shopify store we can create bulk shopify coupn codes in our website but how we can integrate it with game?
I have seen the discount api’s doc which is showing end points only. Is there any detailed documentation or is there any process?
I would require 2 api’s
1- GET-- to get list of the tokens like 10 tokens of 5% discount, 10 tokens of 10% discount etc
2- POST-- once I will assign token to any user I will send token id that its consumed.
I am new in it so your help with me is appreciated!