Update Tax Classes
post
/config/sim/v1/sales/updatetaxclasses
Updates the tax class. If tax class is not found, it creates a new tax class.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Tax Class object of the organization
Root Schema : TaxClassCURequestBody
Type:
object
Model for Tax Class Object
Show Source
-
dataExtensions:
array dataExtensions
An array of data extensions for the tax class
-
hierUnitId(required):
integer
Unique reference of the hierarchy unitExample:
2
-
name(required):
object name
Name
-
objectNum(required):
integer
Object Number of the family groupExample:
1
-
taxes:
array taxes
An array of taxes configured for the tax class
Nested Schema : dataExtensions
Type:
array
An array of data extensions for the tax class
Show Source
Nested Schema : name
Type:
object
Name
Example:
{
"en-US":"Family Group 1",
"de-DE":"Familiengruppe 1",
"es-MX":"Grupo Familiar 1"
}
Nested Schema : items
Type:
Show Source
object
-
columnName:
string
Name of the extension fieldExample:
extension column 1
-
value:
string
Value of the extension fieldExample:
Value1
Nested Schema : items
Type:
Show Source
object
-
taxObjNum:
integer
Object Number of the taxExample:
1
Response
Supported Media Types
- application/json
200 Response
Tax Class Updated or Added.
Root Schema : TaxClassResponse
Type:
object
Model for the response
Show Source
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
objectNum:
integer
Object number of the tax classExample:
1