Anchor to companyLocationRemoveStaffMemberscompany
companyLocationRemoveStaffMembers
mutation
Requires access scope or
access scope. Also: The API client must be installed on a Shopify Plus store.
Deletes one or more existing mappings between a staff member at a shop and a company location.
Anchor to Arguments
Arguments
- Anchor to companyLocationStaffMemberAssignmentIdscompany•
Location Staff Member Assignment Ids [ID!]!required The list of IDs of the company location staff member assignment to delete.
Was this section helpful?
Anchor to CompanyLocationRemoveStaffMembersPayload returnsCompanyLocationRemoveStaffMembersPayload returns
- Anchor to deletedCompanyLocationStaffMemberAssignmentIdsdeleted•
Company Location Staff Member Assignment Ids The list of IDs of the deleted staff member assignment.
- Anchor to userErrorsuser•
Errors [BusinessCustomer non-nullUser Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation companyLocationRemoveStaffMembers($companyLocationStaffMemberAssignmentIds: [ID!]!) {
companyLocationRemoveStaffMembers(companyLocationStaffMemberAssignmentIds: $companyLocationStaffMemberAssignmentIds) {
deletedCompanyLocationStaffMemberAssignmentIds
userErrors {
field
message
}
}
}
Input
{
"companyLocationStaffMemberAssignmentIds": [
"gid://shopify/<objectName>/10079785100"
]
}
{
"companyLocationStaffMemberAssignmentIds": [
"gid://shopify/<objectName>/10079785100"
]
}