POST:tax_rules.json
Commerce APIPOST:tax_rules.json

POST:tax_rules.json

Description

Create one or multiple tax rules.

Permission bit: "tax_rules.create"

Topic: Tax Rules

Query Parameters

shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of TaxRuleCreate

[
  {
    "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