# companyContactAssignRoles - admin-graphql - MUTATION Version: 2024-10 ## Description Assigns roles on a company contact. ### 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 contact whose roles are being assigned. * [rolesToAssign](/docs/api/admin-graphql/2024-10/input-objects/CompanyContactRoleAssign): CompanyContactRoleAssign! - The new roles to assign. ## Returns * [roleAssignments](/docs/api/admin-graphql/2024-10/objects/CompanyContactRoleAssignment): CompanyContactRoleAssignment A list of newly created assignments of company contacts to a company location. * [userErrors](/docs/api/admin-graphql/2024-10/objects/BusinessCustomerUserError): BusinessCustomerUserError! The list of errors that occurred from executing the mutation. ## Examples