Znode

PUT taxclasses/{taxClassId}

Updates an existing tax class.

Request Information

» Parameters

Name Description Additional information
taxClassId The ID of the tax class.

Define this parameter in the request URI.

model The model of the tax class.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "DisplayOrder": 1,
  "ExternalId": "sample string 1",
  "ActiveInd": true,
  "Name": "sample string 3",
  "PortalId": 1,
  "TaxClassId": 4,
  "StoreName": "sample string 5",
  "CustomErrorMessage": "sample string 6",
  "TaxRuleList": {
    "$id": "2",
    "TaxRules": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "CountryCode": "sample string 1",
          "CountyFips": "sample string 2",
          "CountyName": "sample string 3",
          "Custom1": "sample string 4",
          "Custom2": "sample string 5",
          "Custom3": "sample string 6",
          "ExternalId": "sample string 7",
          "Gst": 1.0,
          "Hst": 1.0,
          "IsInclusive": true,
          "PortalId": 9,
          "Precedence": 10,
          "Pst": 1.0,
          "SalesTax": 1.0,
          "StateCode": "sample string 11",
          "TaxClass": {
            "$ref": "1"
          },
          "TaxClassId": 1,
          "TaxRuleId": 12,
          "TaxRuleType": {
            "$id": "5",
            "ClassName": "sample string 1",
            "Description": "sample string 2",
            "IsActive": true,
            "Name": "sample string 4",
            "PortalId": 1,
            "TaxRuleTypeId": 5
          },
          "TaxRuleTypeId": 1,
          "TaxShipping": true,
          "Vat": 1.0
        },
        {
          "$ref": "4"
        },
        {
          "$ref": "4"
        }
      ]
    },
    "PageIndex": 1,
    "PageSize": 1,
    "TotalResults": 1,
    "TotalPages": 1
  }
}