# companyContactAssignRole - admin - MUTATION
Version: 2025-01

## Description
Assigns a role to a contact for a location.

### 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 contact to assign a role to.
* [companyContactRoleId](/docs/api/admin/2025-01/scalars/ID): ID! - The ID of the role to assign to a contact.
* [companyLocationId](/docs/api/admin/2025-01/scalars/ID): ID! - The ID of the location to assign a role to a contact.


## Returns
* [companyContactRoleAssignment](/docs/api/admin/2025-01/objects/CompanyContactRoleAssignment): CompanyContactRoleAssignment The company contact role assignment.
* [userErrors](/docs/api/admin/2025-01/objects/BusinessCustomerUserError): BusinessCustomerUserError! The list of errors that occurred from executing the mutation.


## Examples