getTaxGroup( )


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 tax group.

Permissions
Manage Stores - all permissions
Manage eCommerce - all permissions
Manage Orders
Learn more about app permissions.
Method Declaration
Copy
function getTaxGroup(taxGroupId: string): Promise<TaxGroup>;
Method Parameters
taxGroupIdstringRequired

ID of the tax group to retrieve.

Returns
Return Type:Promise<TaxGroup>
JavaScript
import { taxGroups } from "wix-billing.v2"; async function getTaxGroup(taxGroupId) { try { const result = await taxGroups.getTaxGroup(taxGroupId); 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?