admin.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"
}Changes
Changed in 1 of the 5 revisions of this API.1
- ○
added the media type
application/jsonfor the response with the status500response-media-type-added
- ○