Product Webhook fires twice when inventory changes?

Topic summary

Users are experiencing inconsistent behavior with product webhooks when monitoring inventory changes using the 2021-07 Webhook API version.

Primary Issue:

  • One user receives two webhook messages when manually updating inventory: the first shows original inventory, the second shows new inventory
  • Both inventory_quantity and old_inventory_quantity fields display identical values in each message (original in first, new in second)

Secondary Issue:

  • Another user receives only one webhook but reports old_inventory_quantity incorrectly shows the updated quantity instead of the previous value

Desired Outcome:
A single webhook message with old_inventory_quantity and inventory_quantity fields properly differentiated to reflect before/after states.

The discussion remains open with no resolution or explanation provided for these inconsistencies.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

I’m trying to use the product webhook to monitor inventory changes on certain products. When I manually change the inventory level of a product, I’m receiving 2 webhook messages (with the product webhook) - one containing the original inventory and one containing the new inventory. This is with the 2021-07 Webhook API version. Additionally (and perhaps it’s related to this somehow) there is an “inventory_quantity” field AND an “old_inventory_quantity” field which both show the original inventory in the first message and then both show the new inventory in the second message.

It would be nice if I could get only one message with the new and old quantity fields properly populated. Can anyone shed some light on this behavior? Is this a know issue or am I missing something?

Thanks!

I’m only receiving one webhook when updating the quantity and unfortunately old_inventory_quantity is wrong, it also shows the new (updated) quantity :frowning: