Anchor to CompanyLocationStaffMemberAssignmentCompany
objectCompany Location Staff Member Assignment
Requires access scope or
access scope. Also: The API client must be installed on a Shopify Plus store.
A representation of store's staff member who is assigned to a company location of the shop. The staff member's actions will be limited to objects associated with the assigned company location.
Anchor to FieldsFields
- Anchor to companyLocationcompany•Company
Location Location!non-null The company location the staff member is assigned to.
- •ID!non-null
A globally-unique ID.
- Anchor to staffMemberstaff•Staff
Member Member!non-null Represents the data of a staff member who's assigned to a company location.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
Creates one or more mappings between a staff member at a shop and a company location.
- Anchor to companyLocationIdcompany•ID!required
Location Id The ID of the company location to assign the staff member to.
- Anchor to staffMemberIdsstaff•[ID!]!required
Member Ids The list of IDs of the staff members to assign.
Arguments
- Anchor to companyLocationStaffMemberAssignmentscompany•[Company
Location Staff Member Assignments Location Staff Member Assignment!] The list of created staff member assignments.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?