WebHooks are an architectural pattern that allows third-parties and developers to subscribe to Zid events, so whenever an event is triggered in a specific store, all activated and authorized webHooks will be called.
We follow Rest hooks standards, please read their documentation to understand how WebHooks work in Zid.
✅ Listen for something status ( order status, product update, etc...) ✅ Send supported events only once you create WebHook ✅ Use conditions, but if there is none, send null rather than empty array
⛔️Send API requests in infinite loop to get something status, use WebHooks. ⛔️Send API requests based on time (setTimeInterval, sleep, etc...), use WebHooks. ⛔️Not deleting your un needed WebHooks.
We provide set of events on the main region of interest of any store, products and orders, here is a list of events supported:
Once you register your WebHook event, you can also provide some conditions
For now we do not have conditions for other events, however, we are working hard to build conditions for other events