Requires write_customers access scope.
An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Void the company's primary contact
Arguments
companyId ● ID!non-null
Company id
Return
company ● Company
Company information
More
userErrors ● [BusinessCustomerUserError!]!non-null
Error message
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Example
Revoke the company's main contact
{
"companyId": "gid://shopline/Company/6254924101557166237"
}
Response
{
"data": {
"companyRevokeMainContact": {
"company": {
"id": "gid://shopline/Company/6254924101557166237",
"mainContact": null,
"name": "test2"
},
"userErrors": []
}
}
}
Was this article helpful to you?