Issue
I have created a Shopify app which will allow different store owners to download it and to configure different Web-hooks of their choice like "Order Create", "Order Update" etc...
Each and every Web-hooks are getting configured properly and working fine.
But my issue is "how to know that call to web-hook method is made due to action performed by which of the store"
In sort I wanted to know action performed on which store has triggered web-hook method to be executed.
Solution
It's part of the headers and handshake sent by Shopify to your app.
Regardless of the type of webhook you get a header X-Shopify-Shop-Domain that contains the permanent-shop.myshopify.com address of the shop. see
Answered By - bknights Answer Checked By - Terry (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.