Retrieving a legal entity
GET {{api-url}}/customer-management/{{tenant}}/legal-entities/{{legalEntityId}}
Retrieves a legal entity by the specified unique identifier.
### Required scopes
* clientmanagement.legalentity_read
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"id":"123e06ecf0452c2d6c0b81390","name":"Company name","type":"COMPANY","legalInfo":{"legalName":"Some company name","registratonDate":"2022-03-31T13:18:02.379Z","registrationAgency":"Comp reg agency","registrationId":"627e06ecf0452c2d6c0b81391","countryOfRegistration":"DE","taxRegistrationNumber":"1234"},"accountLimit":1000.99,"customerGroups":[{"id":"123e06ecf0452c2d6c0b81390","name":{"en":"Customer group 1","fr":"Groupe de clients 1"}},{"id":"123e06ecf0452c2d6c0b12345","name":{"en":"Customer group 2","fr":"Groupe de clients 2"}}],"entitiesAddresses":[{"id":"123e123455452c2d6c0b81390"},{"id":"123e06ecf0acd223140b12345"}],"documents":[{"id":"123e121111452c2d6c0b81390"},{"id":"123e06ecf0acd223133333345"}],"approvalGroup":[{"id":"627e06ecf0452c2d6c0b81391","name":"John","surname":"Doe","customer":{"id":"john-doe-customer","name":"JohnCustomer","surname":"DoeCustomer"},"contactDetails":{"emails":["jon.doe@example.com","adam.smith@sample.org"],"phones":[1234567890,"0123456789"],"addressLine1":"W Sample St","addressLine2":"3601-3799","city":"South Bend","state":"Indiana","postcode":46619,"countryCode":"US"},"metadata":{"createdAt":"2022-03-31T13:18:02.379Z","modifiedAt":"2022-03-31T13:18:02.379Z","version":1}},{"id":"123e06ecf0452c2d6c0b81390","name":"Adam","surname":"Smith","contactDetails":{"emails":["adam.klein@email.com","dirk.davis@mail.org"],"phones":[6475837467,"0987654321"],"addressLine1":"Dircksenstraße","addressLine2":136,"city":"Berlin","state":"Berlin","postcode":10178,"countryCode":"DE"},"metadata":{"createdAt":"2022-04-31T13:18:02.379Z","modifiedAt":"2022-05-31T13:18:02.379Z","version":2}}],"metadata":{"createdAt":"2022-03-31T13:18:02.379Z","modifiedAt":"2022-03-31T13:18:02.379Z","version":1}}