Trigger application events from client

Highlighted
Tourist
11 1 0

Hi,

I'm developing an application which I hope to later publish in the Shopify App Store. I need to use the customer creation functionality in Customer API, which as I understand should be interacted with server side from my app. I've already set up a basic app, but now my issue is that I don't know how to have a customer trigger an action in the app. I tried setting up a basic GET request between a development store and my app, but I get a cross-domain-origin-policy error, which makes sense.

 

I've also been looking at webhooks but it seems like these can only be triggered on specified landing pages and deliver specific data. Like for example on creation of a new order or product. What I really need, however, is a way to trigger server side action in my app through something like a form or an API for example.

 

Does something like this exist?

If not, what are my other options (in terms of custom customer registration through Customer API)?

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 139 163

Hey @brodrig 

 

I don't know how to have a customer trigger an action in the app

Can you please elaborate on this point? What's an example of a customer event / action?

0 Likes