Anchor to companyContactsDeletecompany
companyContactsDelete
mutation
Requires access scope or
access scope. Also: The API client must be installed on a Shopify Plus store.
Deletes one or more company contacts.
Anchor to Arguments
Arguments
- Anchor to companyContactIdscompany•
Contact Ids [ID!]!required The list of IDs of the company contacts to delete.
Was this section helpful?
Anchor to CompanyContactsDeletePayload returnsCompanyContactsDeletePayload returns
- Anchor to deletedCompanyContactIdsdeleted•
Company Contact Ids The list of IDs of the deleted company contacts.
- 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 companyContactsDelete($companyContactIds: [ID!]!) {
companyContactsDelete(companyContactIds: $companyContactIds) {
deletedCompanyContactIds
userErrors {
field
message
}
}
}
Input
{
"companyContactIds": [
"gid://shopify/<objectName>/10079785100"
]
}
{
"companyContactIds": [
"gid://shopify/<objectName>/10079785100"
]
}