Create a company under the token owner's tenant
POST/v1/companies
Creates the company together with its defaults: Merkez branch, Merkez department, a default rotation and an annual leave group. The company shares the tenant's license. Employees can then be created with only the X-Company-Id header; department_id, rotation_id and annual_leave_group_id are optional.
Request
Responses
- 201
- 409
- 422
Company created
CompanyNameExists / CompanyExternalIdExists
Validation failed / ExternalIdRequired