Add a company
add_companyImports the CNPJ into a new organization or into the organization of the organization key. Without X-Organization-Id, it creates the organization with the company name and EditalMD on, or returns the one that the person removed from the list (201). With X-Organization-Id or an organization key, the record goes to that organization if the caller manages it and it has no company. Returns 200 when the CNPJ is already in an organization of the caller. Up to 100 companies; no partners or contacts; no analysis starts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnpj | Yes | Full CNPJ, 14 digits with a valid check digit. |