Inventory adjusted (v1.0.0)
Indicates a change in inventory level
New version found
You are looking at a previous version of the event Inventory adjusted. The latest version of this event is v1.0.1 →
Overview
The Inventory Adjusted
event is triggered whenever there is a change in the inventory levels of a product. This could occur due to various reasons such as receiving new stock, sales, returns, or manual adjustments by the inventory management team. The event ensures that all parts of the system that rely on inventory data are kept up-to-date with the latest inventory levels.
Event Details
Event Name
inventory.adjusted
Description
This event indicates that the inventory count for one or more products has been adjusted. The event carries the updated inventory details including the product ID, the new quantity, and the reason for the adjustment.
Payload
The payload of the Inventory Adjusted
event includes the following fields:
Producing the Event
To produce an Inventory Adjusted event, use the following example Kafka producer configuration in Python:
Consuming the Event
To consume an Inventory Adjusted event, use the following example Kafka consumer configuration in Python: