event
Order Amended
Published when an accepted order is changed before fulfilment begins.
EventBroker:Kafka
Overview
OrderAmended records an approved change to an order, such as a quantity adjustment, delivery method change, or promotional correction. Consumers use the revision and changed fields to update projections without rebuilding the full order history.
Architecture diagram
Event-driven architecture documentation: Acme Inc
JSON Schema
9 properties
Published when an accepted order is amended
orderIdstring<uuid>
requiredrevisioninteger
requiredMinimum:
2changedFieldsarray[string]
requiredpreviousTotalinteger
requiredMinimum:
0newTotalinteger
requiredMinimum:
0currencystring
requiredMatch pattern:
^[A-Z]{3}$amendedBystring
requiredCustomer, support agent, or automated policy identifier
reasonstring
Max length:
250amendedAtstring<date-time>
required