# updateCompany (/api/reference/mutations/update-company)

Change a company's details, what it is to the workspace, its owner or its default terms. A field left out is unchanged. A name another company of the workspace already has (matched as `addCompany` matches it) is refused. The same input twice leaves the same company. The relationship and the status can only change on a company that is already a lead or a client.

```graphql
updateCompany(
  input: UpdateCompanyInput!
): UpdateCompanyPayload!
```

### Arguments [#arguments]

#### [`updateCompany.input`](#input) · [`UpdateCompanyInput!`](/api/reference/inputs/update-company-input) `non-null` `input` [#input]
The company and what to change on it.

### Type [#type]

#### [`UpdateCompanyPayload`](/api/reference/objects/update-company-payload) `object` [#updatecompanypayload-object]
The company that was changed.