Skip to main content
Anchor to companyLocationAssignStaffMembers

companyLocationAssignStaffMembers

mutation

Requires write_customers access scope or write_companies access scope. Also: The API client must be installed on a Shopify Plus store.

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

•ID!
required

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

•[ID!]!
required

The list of IDs of the staff members to assign.


Was this section helpful?

Anchor to CompanyLocationAssignStaffMembersPayload returnsCompanyLocationAssignStaffMembersPayload returns

Anchor to companyLocationStaffMemberAssignmentscompanyLocationStaffMemberAssignments
•[CompanyLocationStaffMemberAssignment!]

The list of created staff member assignments.

•[BusinessCustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?