I'd like to pop-up a window on the front end of a store once the user has added something to their shopping cart. I can get the webhook notification in my app so that I know when something has been added, but is there a way (maybe using ScriptTags to insert some JS into the front-end) to tell the store-front that I want to show a pop-up?
(Sorry a bit new to all this!)
@Jordan, I would also like to see some good examples of this Ajax API.
@Matt, if nothing else pops up, you could use the HTML5 Server-Sent Events.
Basically, you just subscribe on the server script and the script can send the data to your client when you receive something from a webhook.