POST:tax_rules.json
Commerce APIPOST:tax_rules.json

POST:tax_rules.json

Description

Modify one or multiple tax rules.

Permission bit: "tax_rules.modify"

Topic: Tax Rules

Query Parameters

ids: Comma-separated array of String, required

List of tax rule ids. See also: Unique Identifiers

Example: ?ids=tr_EQzGqWoY,tr_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of TaxRuleModify

[
  {
    "components": "[]",
    "name": "New York Local Tax",
    "priority": 0,
    "zones": [
      {
        "country": "US",
        "exclude": false,
        "province": "NY",
        "zip_pattern": "40202"
      }
    ]
  }
]

Response Body

Array of TaxRule

Response Body Type

Loading module