deleteTaxRegion( )


Developer Preview

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.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Stores - all permissions
Manage Orders
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
function deleteTaxRegion(taxRegionId: string): Promise<void>;
Method Parameters
taxRegionIdstringRequired

ID of the tax region to delete.

JavaScript
import { taxRegions } from "@wix/billing"; async function deleteTaxRegion(taxRegionId) { const response = await taxRegions.deleteTaxRegion(taxRegionId); }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?