Update a product tax rule
Updates an existing product tax rule. All core fields are required. The application scope, rate/amount, and geographic targeting can all be modified.
Path Parameters
UUID of the tax rule to update.
Body Parameters
Human-readable name for the tax rule.
Percentage tax rate (0–100). When 0, a fixed amount is required.
Fixed tax amount in smallest currency unit. Required when rate is 0.
Country code where the tax applies.
Whether the tax rule is active.
all_products — applies to every product; selected_products — requires products array; selected_categories — requires categories object.
all_productsselected_productsselected_categoriesState/province codes to restrict the tax to (up to 10).
Postal codes to restrict the tax to (up to 10, max 10 characters each).
Payment methods this tax applies to. Use ["all"] for all methods (default).
Product UUIDs (required when applies_to is selected_products).
Category selections (required when applies_to is selected_categories).
Physical product categories.
Digital product categories.
Service categories.
Billing plan categories.
Responses
Product tax rule updated
Validation or business-logic error.
| Code | Description |
|---|---|
400 | Invalid request (e.g. selected_products scope with no products provided) |
1002 | Tax rule not found or one or more referenced products not found |
Missing or invalid API key