Skip to main content

taxClassDelete Mutation

Deletes a tax class. After deleting the tax class any products, product types or shipping methods using it are updated to use the default tax class.

Requires the MANAGE_TAXESpermission.
taxClassDelete(
id: ID!
): TaxClassDelete
Details
type TaxClassDelete {
errors: [TaxClassDeleteError!]!
taxClass: TaxClass
}

Arguments

id ● ID!

ID of a tax class to delete.

Type

TaxClassDelete

Deletes a tax class. After deleting the tax class any products, product types or shipping methods using it are updated to use the default tax class.

Requires the MANAGE_TAXESpermission.