Create a product tax rule
Creates a new product tax rule with geographical targeting, payment
method filtering, and flexible application scope. The tax can apply
to all products, selected products, or selected categories. Specify
either a percentage rate or a fixed amount (when rate is 0).
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 restrictions.
Postal code restrictions.
Payment methods this tax applies to. Default ["all"].
Product UUIDs (required when applies_to is selected_products).
Category selections (required when applies_to is selected_categories).
Responses
Product tax rule created
Validation or business-logic error
Missing or invalid API key