Personalized checkout and custom promotions with Shopify Scripts
This is what I wanted to achieve:
First, you submit an authentication request to https://auth.listrak.com/OAuth2/Token with your client id and client secret. If that is successful, you receive a bearer token to use in further API calls. Once authenticated, we need to process a REST API call to https://api.listrak.com/email/v1 with encoded data (ie. email address, etc). I don't know what should be flow, currently I am running my script in the "addtional checkout", but it throws an "Cors" error as attached in the screenshot.
The same post I found:
https://community.shopify.com/c/shopify-apis-and-sdks/can-shopify-handle-server-side-api-rest-calls-...
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024