PUT /tax-rates/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
cityTaxLocation string | null
City tax location
-
cityTaxRate number(float) | null
City tax rate
-
countyTaxLocation string | null
County tax location
-
countyTaxRate number(float) | null
County tax rate
-
createdAt string(date-time)
Created at
-
districtTaxLocation string | null
District tax location
-
districtTaxRate number(float) | null
District tax rate
-
id integer(int32)
Id
-
Name
-
stateTaxLocation string | null
State tax location
-
stateTaxRate number(float) | null
State tax rate
-
updatedAt string(date-time)
Updated at
-
xeroId string | null
Xero
PUT /tax-rates/{id}.json
curl \
-X PUT http://api.example.com/v1/tax-rates/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"cityTaxLocation":"string","cityTaxRate":42.0,"countyTaxLocation":"string","countyTaxRate":42.0,"createdAt":"2024-05-04T09:42:00+00:00","districtTaxLocation":"string","districtTaxRate":42.0,"id":42,"name":"string","stateTaxLocation":"string","stateTaxRate":42.0,"updatedAt":"2024-05-04T09:42:00+00:00","xeroId":"string"}'
Request example
{
"cityTaxLocation": "string",
"cityTaxRate": 42.0,
"countyTaxLocation": "string",
"countyTaxRate": 42.0,
"createdAt": "2024-05-04T09:42:00+00:00",
"districtTaxLocation": "string",
"districtTaxRate": 42.0,
"id": 42,
"name": "string",
"stateTaxLocation": "string",
"stateTaxRate": 42.0,
"updatedAt": "2024-05-04T09:42:00+00:00",
"xeroId": "string"
}