Create

Creates a tax rule. Find the IDs with Tax / Class / Get All and Tax / Rate / Get All. Each rate + customer class + product class combination can be in one rule only.

FieldTypeRequiredDescription
codestringYesRule name
customer_tax_class_idsarrayYesCustomer tax class IDs (class_type CUSTOMER)
product_tax_class_idsarrayYesProduct tax class IDs (class_type PRODUCT)
tax_rate_idsarrayYesTax rate IDs
priorityintegerNoRules with the same priority add up; a lower priority applies first. Default 0.
positionintegerNoSort order. Default 0.
calculate_subtotalintegerNo1 to calculate off the subtotal only. Default 0.
skip_shipping_taxintegerNo1 to not tax shipping. Default 0.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
integer
integer
integer
integer
customer_tax_class_ids
array of integers
customer_tax_class_ids
product_tax_class_ids
array of integers
product_tax_class_ids
tax_rate_ids
array of integers
tax_rate_ids
Response
200

OK (no example documented yet)

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!