--- title: CompanyContactAssignRolesPayload - GraphQL Admin description: Return type for `companyContactAssignRoles` mutation. api_version: unstable api_name: admin source_url: html: https://shopify.dev/docs/api/admin-graphql/unstable/payloads/companycontactassignrolespayload md: https://shopify.dev/docs/api/admin-graphql/unstable/payloads/companycontactassignrolespayload.md --- # Company​Contact​Assign​Roles​Payload payload Return type for `companyContactAssignRoles` mutation. ## Fields * role​Assignments [\[Company​Contact​Role​Assignment!\]](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CompanyContactRoleAssignment) A list of newly created assignments of company contacts to a company location. * user​Errors [\[Business​Customer​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/BusinessCustomerUserError) non-null The list of errors that occurred from executing the mutation. *** ## Mutations with this payload * [company​Contact​Assign​Roles](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/companyContactAssignRoles) mutation Assigns roles on a company contact. * company​Contact​Id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) required ### Arguments The contact whose roles are being assigned. * roles​To​Assign [\[Company​Contact​Role​Assign!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/CompanyContactRoleAssign) required The new roles to assign. *** *** ## Map ### Mutations with this payload * [company​Contact​Assign​Roles](https://shopify.dev/docs/api/admin-graphql/unstable/types/companyContactAssignRoles)