# companyAssignMainContact - admin - MUTATION
Version: 2025-01

## Description
Assigns the main contact for the company.

### Access Scopes
`write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store.


## Arguments
* [companyContactId](/docs/api/admin/2025-01/scalars/ID): ID! - The ID of the company contact to be assigned as the main contact.
* [companyId](/docs/api/admin/2025-01/scalars/ID): ID! - The ID of the company to assign the main contact to.


## Returns
* [company](/docs/api/admin/2025-01/objects/Company): Company The company for which the main contact is assigned.
* [userErrors](/docs/api/admin/2025-01/objects/BusinessCustomerUserError): BusinessCustomerUserError! The list of errors that occurred from executing the mutation.


## Examples