PATCH
/
coa
/
api
/
fixed-asset-class
/
{id}
Partial Fixed Asset Class
curl --request PATCH \
  --url https://api.meetcampfire.com/coa/api/fixed-asset-class/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "useful_life": -1,
  "asset_account": 123,
  "accumulated_depreciation_account": 123,
  "depreciation_expense_account": 123
}'
{
  "id": 123,
  "asset_account_name": "<string>",
  "accumulated_depreciation_account_name": "<string>",
  "depreciation_expense_account_name": "<string>",
  "name": "<string>",
  "useful_life": -1,
  "created_at": "2023-11-07T05:31:56Z",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "customer": 123,
  "asset_account": 123,
  "accumulated_depreciation_account": 123,
  "depreciation_expense_account": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Body

Response

200 - application/json

The response is of type object.