Delete tax group
hub_delete_tax_groupDelete a tax group. Takes the tax group id from get_taxes. THIS MOVES PRODUCTS: every product assigned to this group is re-pointed at replacementTaxGroupId, or — if you omit it — left with NO tax group at all, meaning those products are sold UNTAXED from that moment. Always ask the merchant which of the two they want and pass a replacement unless they say otherwise. The rates inside it are NOT deleted; they stay available to the other groups (use delete_tax_rate if the merchant really wants a rate gone). CONFIRM WITH THE MERCHANT BEFORE CALLING, naming the group and how many products it affects. There is no undo. Sales already rung up are NOT recalculated — this only affects sales from now on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taxGroupId | Yes | Tax group id from get_taxes — not a name | |
| replacementTaxGroupId | No | Tax group its products move to. OMIT ONLY if the merchant wants those products left untaxed |