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