Update a Tax
PUT/api/taxes/{id}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Tax unique ID |
| title | String | optional Optional Title |
| percentage | Number | optional Optional Percentage |
curl -X PUT "https://yoursite.com/api/taxes/123" \
-H "authtoken: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "field": "value" }'