# companyAssignMainContact - admin-graphql - MUTATION Version: 2024-10 ## 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-graphql/2024-10/scalars/ID): ID! - The ID of the company contact to be assigned as the main contact. * [companyId](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - The ID of the company to assign the main contact to. ## Returns * [company](/docs/api/admin-graphql/2024-10/objects/Company): Company The company for which the main contact is assigned. * [userErrors](/docs/api/admin-graphql/2024-10/objects/BusinessCustomerUserError): BusinessCustomerUserError! The list of errors that occurred from executing the mutation. ## Examples