Anchor to companyContactRemoveFromCompanycompany
companyContactRemoveFromCompany
mutation
Requires access scope or
access scope. Also: The API client must be installed on a Shopify Plus store.
Removes a company contact from a Company.
Anchor to Arguments
Arguments
- Anchor to companyContactIdcompany•
Contact Id ID!required The ID of the company contact to remove from the Company.
Was this section helpful?
Anchor to CompanyContactRemoveFromCompanyPayload returnsCompanyContactRemoveFromCompanyPayload returns
- Anchor to removedCompanyContactIdremoved•
Company Contact Id The ID of the removed 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 companyContactRemoveFromCompany($companyContactId: ID!) {
companyContactRemoveFromCompany(companyContactId: $companyContactId) {
removedCompanyContactId
userErrors {
field
message
}
}
}
Input
{
"companyContactId": "gid://shopify/<objectName>/10079785100"
}
{
"companyContactId": "gid://shopify/<objectName>/10079785100"
}