PUT /taxRates/{taxRateID}

Update details of an existing tax rate.

Path parameters

  • taxRateID integer Required
application/json

Body Required

  • taxRateID integer
  • name string
  • rate number(double)
  • isDefault boolean
  • isActive boolean

Responses

  • 200

    Tax rate updated successfully

  • 404

    Tax rate not found

  • 500

    Internal server error

PUT /taxRates/{taxRateID}
curl \
 -X PUT http://api.example.com/taxRates/{taxRateID} \
 -H "Content-Type: application/json" \
 -d '{"taxRateID":42,"name":"string","rate":42.0,"isDefault":true,"isActive":true}'
Request example
{
  "taxRateID": 42,
  "name": "string",
  "rate": 42.0,
  "isDefault": true,
  "isActive": true
}