TaxRules
Delete TaxRule
Path parameters
ruleIdstringRequiredExample:
(Required)
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
/V1/taxRules/{ruleId}Save TaxRule
Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"rule":{"code":"<string>","priority":"<integer>","position":"<integer>","customer_tax_class_ids":["<integer>","<integer>"],"product_tax_class_ids":["<integer>","<integer>"],"tax_rate_ids":["<integer>","<integer>"],"id":"<integer>","calculate_subtotal":"<boolean>","extension_attributes":"<object>"}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
/V1/taxRulesSave TaxRule
Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"rule":{"code":"<string>","priority":"<integer>","position":"<integer>","customer_tax_class_ids":["<integer>","<integer>"],"product_tax_class_ids":["<integer>","<integer>"],"tax_rate_ids":["<integer>","<integer>"],"id":"<integer>","calculate_subtotal":"<boolean>","extension_attributes":"<object>"}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
/V1/taxRules