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.
function listDefaultTaxGroups(): Promise<ListDefaultTaxGroupsResponse>;
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
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.