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.

Call Stores Update Product to add the taxGroupId to specific products to categorize as a group based on distinct tax treatment. Wix uses tax groups to calculate tax.

In addition to tax groups you create, default tax groups are already included in all Wix catalogs. Call List Default Tax Groups to retrieve them. You can also use the Tax Groups Integration service plugin (REST only) 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
Manage Restaurants - all permissions
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
taxGroupTaxGroupRequired

Tax group to create.

Returns
Return Type:Promise<TaxGroup>
Errors

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

Did this help?