I have a scenario where I need to update the inventory using API without triggering the webhook. Is this possible to do?If yes how can I achieve this?
Maybe you could disable the webhook before updating the inventory and re-enable the webhook, just after you have updated the inventory.
Personally, i don't think it is possible.
As suggested by @Jayvin, it won't be possible to do that without first removing the webhook subscription for that topic and then subscribing again once you've completed performing the updates that you don't want to receive webhooks for.
Hi Jayvin & Mike,
Thank you for the response. But the solution provided cannot be used as I cant disable webhook. So now I am using order fulfilled event to trigger the inventory update.