Hello,
I’m a little new to APIs so please bear with me.
We have a client that would like to have a “virtual bucks” product on their Shopify site. These products would be for different monetary values, ie $10, $20, $30 etc and can be redeemed on their gaming platform.
We have an API that can be called to retrieve the code that the user would put in on the gaming platform to redeem their virtual bucks.
We also have different product IDs for each of the virtual bucks options on the store that can be attached to each Shopify variant and passed along to the API, along with the API key.
My question is - how can we accomplish this with Klaviyo? When a customer makes the purchase, how do we include the code that the user can use to redeem their virtual bucks?
Ideally we would like it to be like a coupon code - upon purchase, they get an email saying “your code is XXXXX”. But I’m a bit lost on how to accomplish this with Klaviyo.
Any help appreciated!

