Anchor to companyDeletecompany
companyDelete
mutation
Requires access scope or
access scope. Also: The API client must be installed on a Shopify Plus store.
Deletes a company.
Anchor to CompanyDeletePayload returnsCompanyDeletePayload returns
- Anchor to deletedCompanyIddeleted•
Company Id The ID of the deleted company.
- 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 companyDelete($id: ID!) {
companyDelete(id: $id) {
deletedCompanyId
userErrors {
field
message
}
}
}
Input
{
"id": "gid://shopify/<objectName>/10079785100"
}
{
"id": "gid://shopify/<objectName>/10079785100"
}