--- title: CompanyLocationAssignRolesPayload - GraphQL Admin description: Return type for `companyLocationAssignRoles` mutation. api_version: unstable api_name: admin source_url: html: https://shopify.dev/docs/api/admin-graphql/unstable/payloads/companylocationassignrolespayload md: https://shopify.dev/docs/api/admin-graphql/unstable/payloads/companylocationassignrolespayload.md --- # Company​Location​Assign​Roles​Payload payload Return type for `companyLocationAssignRoles` 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​Location​Assign​Roles](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/companyLocationAssignRoles) mutation Assigns roles on a company location. * company​Location​Id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) required ### Arguments The location whose roles are being assigned. * roles​To​Assign [\[Company​Location​Role​Assign!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/CompanyLocationRoleAssign) required The roles to assign. *** *** ## Map ### Mutations with this payload * [company​Location​Assign​Roles](https://shopify.dev/docs/api/admin-graphql/unstable/types/companyLocationAssignRoles)