A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
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.
Solved! Go to the solution
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
Yes, you can create a webhook for order/create.
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