This is object used to describe account addresses details
OpCo's organizatinal customer number that uniquely identifies its account.
"1234567"
billing address applied to all users in the same account.
OpCo internal system's unique identifier for the address
"237564557868778"
According to ISO 19060, this field contains one third of the address. In most cases this usually contains the whole addres though.
"Belleboslaan 17"
According to ISO 19060, this field contains one third of the address. This is an optional field.
According to ISO 19060, this field contains one third of the address. This is an optional field.
City.
"Montesson"
The ISO 3166-1 alpha-3 of the country
"FRA"
Zip code.
"78360"
department
"JURA"
region
"Bretagne"
A common definition of an address
OpCo internal system's unique identifier for the address
"237564557868778"
According to ISO 19060, this field contains one third of the address. In most cases this usually contains the whole addres though.
"Belleboslaan 17"
According to ISO 19060, this field contains one third of the address. This is an optional field.
According to ISO 19060, this field contains one third of the address. This is an optional field.
City.
"Montesson"
The ISO 3166-1 alpha-3 of the country
"FRA"
Zip code.
"78360"
department
"JURA"
region
"Bretagne"
If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.
"SPARK"
This object is used to describe some technical meta information related to the event
The application source of this event
The version of the json format event
The type of the request
Extra description about the address
"Building site #1"
The address identifier from Spark system
"50169486938114"
Company name, it might differ from the account name
"Easy Electric"
Address contact's Phone number
"+330287345678"
Contact's firstname.
"John"
Contact's lastname.
"Doe"
Determines whether addessLine1, addessLine2, zipCode, city and country fields are editable or not
false
Optional indications or instructions about the delivery
"Please leave the parcel next the front door."
Optional reference about the customer delivery
"Reference #123"
a boolean to say if this address is the default one or not
false
a boolean to say if the address is active and could be used as a delivery address for an order (e.g. if the address is not active, it means that the address is in validation on opcos side)
false
a boolean to say if the address is to be deleted. Only used in events coming from OpCo. When deleted is set to true, address will be deleted from Spark system
false
{
"eventHeader": {
"source": "SPARK",
"version": "v1",
"requestType": "CREATION_REQUEST"
},
"isActive": false,
"isDeleted": false,
"addressName": "Building site #1",
"companyName": "Easy Electric",
"opCoAddressId": "12345654",
"addressLine1": "Belleboslaan 17",
"city": "Ajaccio",
"country": "FRA",
"postalCode": "20090",
"department": "Corse",
"region": "Corse"
}