Logo
NeoArc Studio

OrderEventPayload

Type: object

Version: 1.0

Payload for order lifecycle events. Contains the order details at the time the event was emitted, including customer reference, line items summary, and current status.

Tags: ecommerce, events, orders

Fields

Name Type Description Source
OrderId string (uuid) Unique identifier of the order -
OrderNumber string Human-readable order reference number -
CustomerId string (uuid) Unique identifier of the customer who placed the order -
Status enum Current order status at the time of the event -
PreviousStatus enum Previous order status before the transition (null for OrderCreated events) -
TotalAmount number (decimal) Total order value at the time of the event -
Currency string ISO 4217 currency code for the order total -
ItemCount integer (int32) Number of line items in the order -
OccurredAt string (datetime) Timestamp when the order state change occurred -