Skip to main content

deleteTaxGroup

Requires permission products:tax:delete.

Deletes a tax group and its links to tax rates. It is refused while the catalog or the organization's defaults rely on the group. Needs the tax delete permission.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation DeleteTaxGroup($id: ID!) {
deleteTaxGroup(id: $id)
}

Variables:

{
"id": "id"
}

Response:

{
"data": {
"deleteTaxGroup": true
}
}
deleteTaxGroup(
id: ID!
): Boolean!

Arguments​

deleteTaxGroup.id ● ID! non-null scalar​

The ID of the tax group.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.