PUT /tax-rates/{id}.json

PUT /tax-rates/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

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 string Required

    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 \
 --request PUT 'http://api.example.com/v1/tax-rates/{id}.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"cityTaxLocation":"string","cityTaxRate":42.0,"countyTaxLocation":"string","countyTaxRate":42.0,"createdAt":"2025-05-04T09:42:00Z","districtTaxLocation":"string","districtTaxRate":42.0,"id":42,"name":"string","stateTaxLocation":"string","stateTaxRate":42.0,"updatedAt":"2025-05-04T09:42:00Z","xeroId":"string"}'
Request examples
{
  "cityTaxLocation": "string",
  "cityTaxRate": 42.0,
  "countyTaxLocation": "string",
  "countyTaxRate": 42.0,
  "createdAt": "2025-05-04T09:42:00Z",
  "districtTaxLocation": "string",
  "districtTaxRate": 42.0,
  "id": 42,
  "name": "string",
  "stateTaxLocation": "string",
  "stateTaxRate": 42.0,
  "updatedAt": "2025-05-04T09:42:00Z",
  "xeroId": "string"
}