Customer Updated Event (v1.0.0)

A customer has been created .

Overview

A customer has been updated, atleast one attribute has been modified. The original value is stored as well as the new value. This can be of use for the different adapters in order to update their model of the customer object.

Architecture diagram

Payload example

Payload example
{
"Reference": {
"Id": "123e4567-e89b-12d3-a456-426614174000",
"Attributes": {
"key1": "value1",
"key2": "value2"
}
},
"Attributes": {
"eventType": "CustomerUpdate",
"timestamp": "2023-10-01T12:34:56Z"
},
"NewValues": {
"Name": "John Doe",
"Email": "john.doe@example.com",
"PhoneNumber": "1234567890"
},
"PreviousValues": {
"Name": "John Smith",
"Email": "john.smith@example.com",
"PhoneNumber": "0987654321"
}
}

JSON Schema

6 properties
ReferenceobjectReference
required
AttributesobjectAttributes
NewValuesobject
PreviousValuesobject