API Version 2
API Documentation

taxregions/create

Type Create
List Tax Regions
URL http://{domain}/api/v2/taxregions/create.json
Accepts Filters No
Output Attributes
No


Create Tax Regions

These parameters are used for creating Tax Regions. Using this API one can create Lead Commerce Tax Regions, indicated by zip codes. The specific data points include tax_id, tax_rate, status and postal_code. The tax_id is the Tax Region ID, the tax_rate is the rate of taxation for the given zip code, status is Tax Region status and the postal code is the 5 digits US zip code. Note: This api only creates zip codes. The tax_id must already exists for this api to work properly.
Parameter Type Required Notes
Example
tax_id int Yes Tax Region ID
2
postal_code string Yes
92014
tax_rate decimal Yes
0.085
status int No
0, 1 or 2 1

Response

Example JSON returned
{
  "code": "200",
  "data": [
    {
      "id": "1",
      "title": "California - Postal Code: 91945",
      "tag": "TS1443728733"
    }
  ]
}

Start your free, no-risk trial today.