The Back in Stock implementation for Shopify (described here: https://help.klaviyo.com/hc/en-us/articles/360001895651-How-to-Install-Back-in-Stock-for-Shopify) doesn’t provide us with the level of customization that we would like to have. As such we are looking at implementing a custom Back in Stock form either via a legacy form method (similar to https://help.klaviyo.com/hc/en-us/articles/115005249588-How-to-Add-and-Customize-a-Legacy-Embedded-Signup-Form) or via a custom form and API request in the frontend (in JS).
This developer documentation for the API https://help.klaviyo.com/hc/en-us/articles/360006565332-Back-in-Stock-for-Mobile-App-Developers while not explicitly stated I believe is only for server side API calls as CORS blocks POST requests via JS.
Can anyone point me in the right direction here - add a user to back in stock list for a product via a custom form on the frontend, without need for server-side api calls. (or if there is no right direction - let me know!)
Many thanks!
Olly