Taxes > Tax Rules > taxRulesCreate
POST:tax_rules.json
Description
Create one or multiple tax rules.
Permission bit: "tax_rules.create"
Topic: Tax Rules
Arguments
data: [TaxRuleCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Tax rule components (custom JSON format)
Example: "[]"
Name of the tax rule
Example: "New York Local Tax"
Valid when: name is not empty
Valid when: name's length doesn't exceed 250 characters
Priority of the rule (rule with higher priority is to be evaluated first)
Example: 0
zones: [ZoneCreate!]
Result
[TaxRule!]
Preview (typescript)
Loading module