This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deletes a tax region.
When a tax region is deleted, tax is not calculated and zero tax will be returned for addresses in this region.
You can only call this method when authenticated as a Wix app or Wix user identity.
function deleteTaxRegion(taxRegionId: string): Promise<void>;
ID of the tax region to delete.
import { taxRegions } from "@wix/billing";
async function deleteTaxRegion(taxRegionId) {
const response = await taxRegions.deleteTaxRegion(taxRegionId);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.