---
title: CompanyLocationAssignStaffMembersPayload - GraphQL Admin
description: Return type for `companyLocationAssignStaffMembers` mutation.
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/payloads/companylocationassignstaffmemberspayload
  md: https://shopify.dev/docs/api/admin-graphql/latest/payloads/companylocationassignstaffmemberspayload.md
---

# CompanyLocationAssignStaffMembersPayload

payload

Return type for `companyLocationAssignStaffMembers` mutation.

## Fields

* companyLocationStaffMemberAssignments

  [\[CompanyLocationStaffMemberAssignment!\]](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocationStaffMemberAssignment)

  The list of created staff member assignments.

* userErrors

  [\[BusinessCustomerUserError!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/BusinessCustomerUserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Mutations with this payload

* [companyLocationAssignStaffMembers](https://shopify.dev/docs/api/admin-graphql/latest/mutations/companyLocationAssignStaffMembers)

  mutation

  Creates one or more mappings between a staff member at a shop and a company location.

  * companyLocationId

    [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

    required

    ### Arguments

    The ID of the company location to assign the staff member to.

  * staffMemberIds

    [\[ID!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

    required

    The list of IDs of the staff members to assign.

  ***

***

## Map

### Mutations with this payload

* [companyLocationAssignStaffMembers](https://shopify.dev/docs/api/admin-graphql/latest/mutations/companyLocationAssignStaffMembers)