Shopify sends webhook of 'product-update' in both cases- Updating a product AND creating an Order. On creating orders, product quantity is deducted from 1st location which is mentioned as per location fulfillment priority. My problems are-
I want to differentiate 'product-update' webhook such that is it coming due to updating the product OR creating an order.
Is there any way in shopify REST API to get the locations as per fulfillment priorities?