Customer Deleted
CRM
Newsletter
The Customer event is triggered whenever a customer is deleted. This event contains only the id of the customer.
JSON schema & example
Section titled “JSON schema & example”{ "metadata": { "traceId": "19bebc7b-a2f6-4ca7-9b2e-912edc26d6d6", "occurredAt": "2024-12-11T14:42:55Z", "version": "1.0", "tenant": "1337", "type": "CUSTOMER_DELETED" }, "customerId": "rxrn:cx:1337:customer:624291d6e0591da94e503788", "custom": {}}{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Customer", "description": "Schema for a customer deleted event", "type": "object", "required": [ "metadata", "customerId" ], "properties": { "metadata": { "type": "object", "properties": { "traceId": { "type": "string", "format": "uuid", "description": "Unique identifier to trace the event." }, "occurredAt": { "type": "string", "format": "date-time", "description": "The timestamp when the event occurred." }, "version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+$", "description": "The version of the event schema, following semantic versioning." }, "tenant": { "type": "string", "description": "Identifier of the tenant or organization associated with the event." }, "type": { "type": "string", "enum": [ "CUSTOMER", "CUSTOMER_DELETED", "EVENT", "EVENT_CAPACITY", "ORDER", "CANCELLATION", "CREDIT_NOTE", "RESERVATION", "RESERVATION_CANCELLATION", "PRICE_PROFILE", "PRICE_PROFILE_DELETED", "TICKET" ], "description": "Identifier of the tenant or organization associated with the event." } }, "required": [ "traceId", "occurredAt", "version", "tenant", "type" ], "additionalProperties": false }, "customerId": { "type": "string", "description": "Unique identifier for the customer", "examples": [ "rxrn:cx:1337:customer:624291d6e0591da94e503788" ] }, "custom": { "type": "object", "description": "Custom data object" } }}