listDefaultTaxGroups( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of default tax groups.

The default tax groups for a site are inherited by the apps installed on the site. For example, the Wix Stores app includes a "Products" tax group by default.

Add additional default tax groups with the Tax Groups Integration service plugin.

Permissions
Manage Stores - all permissions
Manage eCommerce - all permissions
Manage Orders
Learn more about app permissions.
Method Declaration
Copy
function listDefaultTaxGroups(): Promise<ListDefaultTaxGroupsResponse>;
Request
This method does not take any parameters
Returns
Return Type:Promise<ListDefaultTaxGroupsResponse>
JavaScript
import { taxGroups } from "wix-billing.v2"; async function listDefaultTaxGroups() { try { const result = await taxGroups.listDefaultTaxGroups(); return result; } catch (error) { console.error(error); // Handle the error } }
Errors

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

Did this help?