Customer Deleted V1
A message that is sent when a customer is deleted. The message contains information about the customer and the facility that the customer was deleted from. This event is triggered when a customer is deleted.This is data part of the message please read the event section for more information of the metadata envelop.
Properties
Name | Type | Title | Description | Required |
---|---|---|---|---|
customer | object | Customer | Customer information | yes |
facility | object | Facility | Facility information | yes |
Example
{
"customer": {
"customerId": "12345",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"address": "123 Main St",
"city": "Anytown",
"zipcode": "12345",
"country": "USA",
"nationality": "American",
"cellphone": "+1234567890",
"telephone": "+0987654321",
"dateOfBirth": "1980-01-01",
"gender": "male",
"isOrganization": false,
"doNotEmail": true,
"registrationDate": "2023-01-01T12:00:00Z"
},
"facility": {
"facilityId": "2344123",
"facilityName": "Matchi Tennis Club"
}
}
customer: Customer
Customer information
Properties
Name | Type | Title | Description | Required |
---|---|---|---|---|
customerId | string | Customer ID | A unique identifier for the customer. | yes |
userId | string | User ID | A unique identifier for the user, in UUID format.Format: "uuid" | no |
firstName | string | First Name | The first name of the customer. | no |
lastName | string | Last Name | The last name of the customer. | no |
string | The email address of the customer, in a valid email format.Format: "email" | no | ||
address | string | Address | The street address of the customer. | no |
city | string | City | The city where the customer resides. | no |
zipcode | string | Zipcode | The postal code of the customer’s address. | no |
country | string | Country | The country where the customer resides. | no |
nationality | string | Nationality | The nationality of the customer. | no |
cellphone | string | Cellphone | The cellphone number of the customer. | no |
telephone | string | Telephone | The telephone number of the customer. | no |
dateOfBirth | string | Date of Birth | The date of birth of the customer, in YYYY-MM-DD format.Format: "date" | no |
gender | string | Gender | The gender of the customer. | no |
isOrganization | boolean | Is Organization | Indicates whether the customer is an organization. | no |
doNotEmail | boolean | Do Not Email | Indicates whether the customer should not receive emails from facility. | no |
registrationDate | string | Registration Date | The date and time when the customer registered, in ISO 8601 format.Format: "date-time" | no |
Example
{
"customerId": "12345",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"address": "123 Main St",
"city": "Anytown",
"zipcode": "12345",
"country": "USA",
"nationality": "American",
"cellphone": "+1234567890",
"telephone": "+0987654321",
"dateOfBirth": "1980-01-01",
"gender": "male",
"isOrganization": false,
"doNotEmail": true,
"registrationDate": "2023-01-01T12:00:00Z"
}
facility: Facility
Facility information
Properties
Name | Type | Title | Description | Required |
---|---|---|---|---|
facilityId | string | Facility ID | A unique identifier for the facility. | yes |
facilityName | string | Facility Name | The name of the facility. | yes |
Example
{
"facilityId": "2344123",
"facilityName": "Matchi Tennis Club"
}