Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Webhook for POS

Webhook for POS

Dan_GRHF
Shopify Partner
16 1 3

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.

Replies 3 (3)

csam
Shopify Staff (Retired)
267 40 51

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.

Dan_GRHF
Shopify Partner
16 1 3

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.

Dan_GRHF
Shopify Partner
16 1 3

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?