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.
Delete company
Arguments
id ● ID!non-null
Company id
Return
deletedCompanyId ● ID
Delete company id
userErrors ● [BusinessCustomerUserError!]!non-null
Error message
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Example
companyDelete
{
"id": "gid://shopline/Company/6254924101557166237"
}
Response
{
"data": {
"companyDelete": {
"deletedCompanyId": "gid://shopline/Company/6254924101557166237",
"userErrors": []
}
}
}
Was this article helpful to you?