Anchor to companyRevokeMainContactcompany
companyRevokeMainContact
mutation
Requires access scope or
access scope. Also: The API client must be installed on a Shopify Plus store.
Revokes the main contact from the company.
Anchor to Arguments
Arguments
- Anchor to companyIdcompany•
Id ID!required The ID of the company to revoke the main contact from.
Was this section helpful?
Anchor to CompanyRevokeMainContactPayload returnsCompanyRevokeMainContactPayload returns
- Anchor to companycompany•
The company from which the main contact is revoked.
- 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 companyRevokeMainContact($companyId: ID!) {
companyRevokeMainContact(companyId: $companyId) {
company {
# Company fields
}
userErrors {
field
message
}
}
}
Input
{
"companyId": "gid://shopify/<objectName>/10079785100"
}
{
"companyId": "gid://shopify/<objectName>/10079785100"
}