Re: Is there a way to watch for newly created orders?

Solved

Is there a way to watch for newly created orders?

ehb
Tourist
5 0 1

So I made a webapp that is linked to Shopify via admin REST api plugin.

Is there a way to watch for newly created orders? Basically, my webapp wants to access the newly created order information everytime a new order was created by the customer at checkout/paid. Is there a way to do this? Syncing information while avoiding duplicates, etc. and not accessing orders it accessed in the past.

Accepted Solution (1)
olivert
Explorer
51 12 19

This is an accepted solution.

Yas 

You may have to get your app to create the webhook programatically as the customer won't know how to create Web hooks 

Otherwise you can jump in the notifications settings in admin and create it yourself.

List of webhooks:

You want order/create

https://shopify.dev/docs/admin-api/rest/reference/events/webhook

View solution in original post

Replies 2 (2)

policenauts1
Trailblazer
174 13 40

Yes, you can create a webhook for order/create.

olivert
Explorer
51 12 19

This is an accepted solution.

Yas 

You may have to get your app to create the webhook programatically as the customer won't know how to create Web hooks 

Otherwise you can jump in the notifications settings in admin and create it yourself.

List of webhooks:

You want order/create

https://shopify.dev/docs/admin-api/rest/reference/events/webhook