post
https://{store}/api/rest/tax/rate/
Creates a tax rate. It does nothing until a tax rule uses it (Tax / Rule / Create).
| Field | Type | Required | Description |
|---|---|---|---|
| code | string | Yes | Tax identifier, e.g. "US-NY-10001" |
| tax_country_id | string | Yes | Two-letter country code |
| rate | number | Yes | Rate percent, 0 or more |
| tax_region_id | integer | No | Region (state) ID. Leave out or 0 for every region. |
| tax_postcode | string | No | Zip code, or * for every zip |
| zip_is_range | integer | No | 1 to use a zip range instead of tax_postcode |
| zip_from | string | With zip_is_range | Start of the range (digits, max 9) |
| zip_to | string | With zip_is_range | End of the range (digits, max 9, not less than zip_from) |
| titles | array | No | Store titles: [{"store_id": 1, "title": "NY Sales Tax"}] |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200OK (no example documented yet)
