Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hi There,
Not sure if this is the right location for this question.
Can you pullwebhooks from a POS order? I can't tell from the Shopify help centre. Since POS is just a channel for an online store we would like to be able to pull POS orders via webhook to work with another private app we had created.
Hi @Dan_GRHF
You can retrieve all orders from a store via the API, then process the POS ones for your app. Alternatively you can set up a push webhook from your store sending data to your app any time an order is created. You could then process the POS orders as desired.
Here's some info about requesting Order data via the API: https://shopify.dev/api/admin-rest/2021-10/resources/order#[get]/admin/api/2021-10/orders.json
And here's some info about setting up a webhook for the product/create action: https://shopify.dev/apps/webhooks/configuration/https
This article explains the difference between the two approaches: https://shopify.dev/apps/webhooks
Hope this helps!
To learn more visit the Shopify Help Center or the Community Blog.
Thanks @csam
We originally setup the whole app to work through the webhook so we weren't looking to reconfigure that. I will share this information with our developer to see if it helps.
Hi @csam
Thanks for the reply all those months ago and sorry for the delay.
We seem to be having trouble still. The app was built and setup original with Webhooks not API.
It is working as expecting for all orders coming through the online store.
For any POS orders the webhook does not seem to be sending the hook at all. We have tried real orders and test and don't see anything using both Order Creation or Order Payment.
Any thoughts or ideas?