Create a company
Creates a new company and adds the current user as primary contact. Requires the company feature to be enabled on the tenant. Tenant settings control whether all users or only admins can create companies. Non-admin users cannot create a company if they already belong to one.
Authorizations
Server-to-server authentication. Generate a token in the admin UI at
Settings → Developers → API Access. Send the raw token in the
Api-Token header — there is no Bearer prefix.
Tokens can be marked read-only at creation time, in which case the API
rejects any non-GET request with 403 Forbidden.
Body
The new Company resource
255"/api/v1/towns/1"
"/api/v1/countries/1"
"/api/v1/product_prices/1"
Response
Company resource created
255"/api/v1/tenants/1"

