List Customers
GET /api/customers
List Customers
GET /api/customers
Lists all customers of the organization.
Query Parameters
organizationId(required): The ID of the organization.
Response
[
{
"id": 101,
"organizationId": 1,
"name": "Customer A GmbH",
"email": "contact@customer-a.de",
"packageId": 4,
"packageDisplayName": "Business",
"status": "active",
"cancellationDate": null,
"notificationEmail": "alerts@customer-a.de",
"createdAt": "2023-05-15T10:00:00Z"
},
{
"id": 102,
"organizationId": 1,
"name": "StartUp XY",
"email": "info@startup-xy.com",
"packageId": 1,
"packageDisplayName": "Essential",
"status": "marked_for_cancellation",
"cancellationDate": "2024-12-31T23:59:59Z",
"createdAt": "2023-06-20T14:30:00Z"
}
]
Note: The list response intentionally no longer exposes the raw packageType. Use packageDisplayName for display and packageId for technical mapping. packageDisplayName comes from the assigned organization package config and may therefore be organization-specific.