So I need to create an app that will exicuting diffrent actions when a product is added or deleted in woocommerce. I can’t use woocommerce webhooks since I don’t have a delivery adress which is required to use webhooks. The only other way I can figure out to do this is to constantly GET all products and check how many products there are. But that doesn’t feel very sustainable, there are so many things that can go wrong. For example it’s hard to figure out which product have been delted. Is their any other way to get a real-time call when a product have been added or deleted in woocommerce.

Thank you! I appriciate all answers!

Read more here: Make action in a separate app when a product is added/deleted in woocommerce. real-time


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: