createTaxGroup( )


Developer Preview

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

Creates a tax group.

Add the taxGroupId to specific Stores products to categorize a group based on distinct tax treatment. Wix uses tax groups to calculateTax().

In addition to tax groups you create, default tax groups are already included in all Wix catalogs. Use listDefaultTaxGroups() to retrieve them. You can also use the Tax Groups Integration service plugin to create new default tax groups that can be applied directly to an entire catalog of products.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Stores - all permissions
Manage Orders
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
taxGroupTaxGroupRequired

Tax group to create.

Returns
Return Type:Promise<TaxGroup>
Was this helpful?
Yes
No