I am facing the same issue sometimes that when change price from product detail page webhook does not call but when change price in variant detail page it calls webhook.
I am using 2021-04 currently. Do we have to update webhook version to 2021-07 to not facing this issue again or this is fixed in 2021-04?
Yes that's correct, this would be fixed for all stable versions. Changing price on that page would fire products/update webhook in 2021-04, we'd recommend bumping up to the latest version if possible. Hope that helps!
Posting this to check if anyone is experiencing an intermittent issue with product/update not firing after an API update of products. We have faced this in the past few days while making product updates via API for automated tests which we use as part of a CI/CD flow - the product/update webhook never triggers and then starts working on its own a few hours later.
It also appears that the issue goes away once we go in and make a change using the store UI - this triggers webhooks as expected, and then the webhooks triggered from API updates start working as well. We are fairly sure this is not an issue at our end, have tried this with multiple different endpoints.