title: Prevent WooCommerce from firing product update webhook on REST API update only
body: <p>I am trying to create a stock sync system that communicates with WooCommerce via REST API and webhooks. It works simply like that:</p>
  <ol>
  <li>If the product was updated - the webhook is fired to my API which creates the event with the current stock information.</li>
  <li>When event is created it is being processed and the product update information is sent via REST to other WooCommerce stores in my &quot;network&quot;. The product is updated.</li>
  </ol>
  <p>The issue here is that it creates some kind of infinite loop as when the product is updated on other website it fires webhook again and creates a new event in my API again.</p>
  <p>Question: <strong>Is it possible to prevent WooCommerce from firing product update webhooks ONLY when product is updated via REST API (or specific function)?</strong></p>