# companyLocationAssignRoles - admin - MUTATION
Version: 2025-01

## Description
Assigns roles on a company 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
* [companyLocationId](/docs/api/admin/2025-01/scalars/ID): ID! - The location whose roles are being assigned.
* [rolesToAssign](/docs/api/admin/2025-01/input-objects/CompanyLocationRoleAssign): CompanyLocationRoleAssign! - The roles to assign.


## Returns
* [roleAssignments](/docs/api/admin/2025-01/objects/CompanyContactRoleAssignment): CompanyContactRoleAssignment A list of newly created assignments of company contacts to a company location.
* [userErrors](/docs/api/admin/2025-01/objects/BusinessCustomerUserError): BusinessCustomerUserError! The list of errors that occurred from executing the mutation.


## Examples