Logo
NeoArc Studio

InventoryEventPayload

Type: object

Version: 1.0

Payload for inventory change events. Emitted when product stock levels change due to orders, restocking, or manual adjustments.

Tags: ecommerce, events, inventory

Fields

Name Type Description Source
ProductId string (uuid) Unique identifier of the affected product -
Sku string Stock Keeping Unit of the affected product -
PreviousQuantity integer (int32) Stock quantity before the change -
NewQuantity integer (int32) Stock quantity after the change -
Delta integer (int32) Change amount (positive for restock, negative for deduction) -
Reason string Reason for the inventory change (e.g. order_placed, order_cancelled, restock, manual_adjustment) -
ReferenceId string (uuid) Reference to the entity that triggered the change (e.g. orderId for order_placed, restockId for restock) -
LowStockThreshold integer (int32) Configured low-stock alert threshold for this product -
IsLowStock boolean Whether the new quantity is at or below the low-stock threshold -