The application will send new operation notification messages through this channel.
The environment from which the event originated from e.g. dev, prod
Accepts one of the following messages:
Default Correlation ID
The application will send customer created events through this channel.
{
"id": "string",
"specversion": "1.0",
"env": "dev",
"type": "com.specsavers.customer.created",
"correlationid": "string",
"subject": "string",
"market": "GB",
"datacontenttype": "application/json",
"data": {
"__meta": {
"key": "string",
"language": "string",
"loginUrl": "string",
"logoUrl": "string",
"myAccountUrl": "string",
"contactUsUrl": "string",
"privacyPolicyUrl": "string",
"termsofPurchaseUrl": "string",
"legalPoliciesUrl": "string",
"name": "string",
"supportContactNumber": "string",
"supportEmailAddress": "string"
},
"customer": {
"id": "string",
"title": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"gender": "MALE",
"dateOfBirth": "string",
"marketingPreference": [
{
"market": "string",
"consent": true,
"consentedAt": "2019-08-24T14:15:22Z",
"revokedAt": "2019-08-24T14:15:22Z"
}
],
"contactInfo": {
"email": "string",
"mobile": "string"
},
"cprNumber": "string",
"personnummer": "string",
"createdAt": "string",
"createdBy": {
"email": "string",
"userType": "COLLEAGUE"
},
"lastModifiedAt": "string",
"lastModifiedBy": {
"email": "string",
"userType": "COLLEAGUE"
},
"migratedCustomerInfo": [
{
"id": "string",
"system": "string",
"createdAt": "2019-08-24T14:15:22Z",
"lastModifiedAt": "2019-08-24T14:15:22Z"
}
]
},
"aftercareStore": {
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"line3": "string",
"name": "string",
"postcode": "string",
"region": "string"
},
"companyDetails": {
"name": "string",
"registeredAddress": "string"
},
"contactInfo": {
"phone": "string",
"email": "string"
},
"coordinates": {
"latitude": "string",
"longitude": "string"
},
"lineOfBusiness": "AUDIOLOGY",
"name": "string",
"eposNumber": "string",
"storeUrl": "string"
}
}
}
Default Correlation ID
The application will send customer updated events through this channel.
{
"id": "string",
"specversion": "1.0",
"env": "dev",
"type": "com.specsavers.customer.updated",
"correlationid": "string",
"subject": "string",
"market": "GB",
"datacontenttype": "application/json",
"data": {
"__meta": {
"key": "string",
"language": "string",
"loginUrl": "string",
"logoUrl": "string",
"myAccountUrl": "string",
"contactUsUrl": "string",
"privacyPolicyUrl": "string",
"termsofPurchaseUrl": "string",
"legalPoliciesUrl": "string",
"name": "string",
"supportContactNumber": "string",
"supportEmailAddress": "string"
},
"customer": {
"id": "string",
"title": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"gender": "MALE",
"dateOfBirth": "string",
"marketingPreference": [
{
"market": "string",
"consent": true,
"consentedAt": "2019-08-24T14:15:22Z",
"revokedAt": "2019-08-24T14:15:22Z"
}
],
"contactInfo": {
"email": "string",
"mobile": "string"
},
"cprNumber": "string",
"personnummer": "string",
"createdAt": "string",
"createdBy": {
"email": "string",
"userType": "COLLEAGUE"
},
"lastModifiedAt": "string",
"lastModifiedBy": {
"email": "string",
"userType": "COLLEAGUE"
},
"migratedCustomerInfo": [
{
"id": "string",
"system": "string",
"createdAt": "2019-08-24T14:15:22Z",
"lastModifiedAt": "2019-08-24T14:15:22Z"
}
],
"addresses": [
{
"id": "string",
"title": "string",
"firstName": "string",
"lastName": "string",
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"additionaAddressInfo": "string",
"country": "string",
"phone": "string",
"email": "string",
"isDefaultForShipping": true,
"isDefaultForBilling": true
}
]
},
"aftercareStore": {
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"line3": "string",
"name": "string",
"postcode": "string",
"region": "string"
},
"companyDetails": {
"name": "string",
"registeredAddress": "string"
},
"contactInfo": {
"phone": "string",
"email": "string"
},
"coordinates": {
"latitude": "string",
"longitude": "string"
},
"lineOfBusiness": "AUDIOLOGY",
"name": "string",
"eposNumber": "string",
"storeUrl": "string"
}
}
}
Default Correlation ID
The application will send customer wallet updated events through this channel.
{
"id": "string",
"specversion": "1.0",
"env": "dev",
"type": "com.specsavers.payment.wallet.updated",
"correlationid": "string",
"subject": "string",
"market": "GB",
"datacontenttype": "application/json",
"data": {
"__meta": {
"key": "string",
"language": "string",
"loginUrl": "string",
"logoUrl": "string",
"myAccountUrl": "string",
"contactUsUrl": "string",
"privacyPolicyUrl": "string",
"termsofPurchaseUrl": "string",
"legalPoliciesUrl": "string",
"name": "string",
"supportContactNumber": "string",
"supportEmailAddress": "string"
},
"customer": {
"id": "string",
"title": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"gender": "MALE",
"dateOfBirth": "string",
"marketingPreference": [
{
"market": "string",
"consent": true,
"consentedAt": "2019-08-24T14:15:22Z",
"revokedAt": "2019-08-24T14:15:22Z"
}
],
"contactInfo": {
"email": "string",
"mobile": "string"
},
"cprNumber": "string",
"personnummer": "string",
"createdAt": "string",
"createdBy": {
"email": "string",
"userType": "COLLEAGUE"
},
"lastModifiedAt": "string",
"lastModifiedBy": {
"email": "string",
"userType": "COLLEAGUE"
},
"migratedCustomerInfo": [
{
"id": "string",
"system": "string",
"createdAt": "2019-08-24T14:15:22Z",
"lastModifiedAt": "2019-08-24T14:15:22Z"
}
]
},
"aftercareStore": {
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"line3": "string",
"name": "string",
"postcode": "string",
"region": "string"
},
"companyDetails": {
"name": "string",
"registeredAddress": "string"
},
"contactInfo": {
"phone": "string",
"email": "string"
},
"coordinates": {
"latitude": "string",
"longitude": "string"
},
"lineOfBusiness": "AUDIOLOGY",
"name": "string",
"eposNumber": "string",
"storeUrl": "string"
},
"wallet": {
"id": "string"
}
}
}
{
"id": "string",
"specversion": "1.0",
"env": "dev",
"subject": "string",
"market": "GB",
"type": "com.specsavers.customer.password.reset.requested",
"correlationid": "string",
"source": "string",
"time": "GB",
"datacontenttype": "application/json",
"data": {
"__meta": {
"key": "string",
"language": "string",
"loginUrl": "string",
"logoUrl": "string",
"myAccountUrl": "string",
"contactUsUrl": "string",
"privacyPolicyUrl": "string",
"termsofPurchaseUrl": "string",
"legalPoliciesUrl": "string",
"name": "string",
"supportContactNumber": "string",
"supportEmailAddress": "string"
},
"resetPasswordUrl": "string",
"customer": {
"id": "string",
"title": "string",
"firstName": "string",
"lastName": "string",
"middleName": "string",
"isPartial": true,
"contactInfo": {
"email": "string",
"mobile": "string"
}
}
}
}
{
"id": "string",
"specversion": "1.0",
"env": "dev",
"subject": "string",
"market": "GB",
"type": "com.specsavers.customer.otp.requested",
"correlationid": "string",
"source": "string",
"time": "GB",
"datacontenttype": "application/json",
"data": {
"__meta": {
"key": "string",
"language": "string",
"loginUrl": "string",
"logoUrl": "string",
"myAccountUrl": "string",
"contactUsUrl": "string",
"privacyPolicyUrl": "string",
"termsofPurchaseUrl": "string",
"legalPoliciesUrl": "string",
"name": "string",
"supportContactNumber": "string",
"supportEmailAddress": "string"
},
"oneTimePasscode": "string",
"customer": {
"id": "string",
"title": "string",
"firstName": "string",
"lastName": "string",
"middleName": "string",
"isPartial": true,
"contactInfo": {
"email": "string",
"mobile": "string"
}
}
}
}
The environment from which the event originated from e.g. dev, prod