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
1mutation companyContactRemoveFromCompany($companyContactId: ID!) {2 companyContactRemoveFromCompany(companyContactId: $companyContactId) {3 removedCompanyContactId4 userErrors {5 field6 message7 }8 }9}
Input
1{2 "companyContactId": "gid://shopify/<objectName>/10079785100"3}
{
"companyContactId": "gid://shopify/<objectName>/10079785100"
}