v1
latestOpenAPI 3.1.12026-07-124448163.2 KBadmin.clients
Create a client
Creates a new client for the accountant and returns the created client.
post/admin/clients
Request body
Example request
{
"name": "Muster GmbH",
"type": "legal_person",
"customId": "ABC123",
"address": {
"line1": "Musterstraße 1",
"line2": "12345 Musterstadt",
"city": "Musterstadt",
"postalCode": "12345",
"countryCode": "DE"
}
}Response
Client created successfully
Example response
{
"id": "cmf41ajzv003706un4i99q19z",
"name": "Muster GmbH",
"slug": "muster-gmbh",
"type": "legal_person",
"customId": "ABC123",
"legalName": "Muster GmbH",
"archivedAt": "2021-01-01T00:00:00Z",
"datevClientId": "ABC123",
"createdAt": "2021-01-01T00:00:00Z",
"updatedAt": "2021-01-01T00:00:00Z"
}