Anchor to companyContactDeletecompany
companyContactDelete
mutation
Requires access scope or
access scope. Also: The API client must be installed on a Shopify Plus store.
Deletes a company contact.
Anchor to Arguments
Arguments
- Anchor to companyContactIdcompany•
Contact Id ID!required The ID of the company contact to delete.
Was this section helpful?
Anchor to CompanyContactDeletePayload returnsCompanyContactDeletePayload returns
- Anchor to deletedCompanyContactIddeleted•
Company Contact Id The ID of the deleted company contact.
- 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 companyContactDelete($companyContactId: ID!) {
companyContactDelete(companyContactId: $companyContactId) {
deletedCompanyContactId
userErrors {
field
message
}
}
}
Input
{
"companyContactId": "gid://shopify/<objectName>/10079785100"
}
{
"companyContactId": "gid://shopify/<objectName>/10079785100"
}