PUT
/
v2
/
tax
curl --request PUT \
  --url https://api.sonderplan.com/v2/tax \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "GST",
  "rate": "10",
  "code": "CAP: Capital Purchase",
  "compound": false
}'
{
  "success": {
    "id": 2384
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string
required

The ID of the tax you wish to update

Body

application/json

Standard tax model that returns all properties by default

Response

200
application/json

The resource was successfully updated

The response is of type object.