Update tax group
hub_update_tax_groupRename a tax group, make it the standard one, or change the ORDER its rates are charged in. Takes the tax group id from get_taxes, never a name. Order matters for money: a compounding rate is charged on the running total including everything above it, so reordering changes what customers pay. rateIdsInOrder must list exactly the rate ids already in the group, once each — it reorders, it never adds or removes. Use add_tax_rate_to_group / remove_tax_rate_from_group for that. CONFIRM WITH THE MERCHANT before reordering or changing the standard group. Sales already rung up are NOT recalculated — this only affects sales from now on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the group | |
| isStandard | No | Make this the company default group | |
| taxGroupId | Yes | Tax group id from get_taxes — not a name | |
| rateIdsInOrder | No | Every rate id currently in the group, in the new charging order. A permutation, nothing else |