PUT
/
coa
/
api
/
account
/
{id}
Update Chart Account
curl --request PUT \
  --url https://api.meetcampfire.com/coa/api/account/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "number": "<string>",
  "currency": "<string>",
  "name": "<string>",
  "nickname": "<string>",
  "description": "<string>",
  "status": "ACTIVE",
  "account_type": "ASSET",
  "account_subtype": "BANK",
  "account_cashflow_classification": "NONE",
  "include_in_eliminations": true,
  "include_in_revaluations": true,
  "protected": true,
  "last_recompute_balance_at": "2023-11-07T05:31:56Z",
  "lock_recompute_balance_key": "<string>",
  "parent": 123,
  "parent_bank_account": 123
}'
{
  "id": 123,
  "reconciliation_ending_date": "2023-12-25",
  "reconciliation_ending_balance": 0,
  "balance_ytd": 0,
  "name_and_number": "<string>",
  "parent_name_and_number": "<string>",
  "sort_key": "<string>",
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "number": "<string>",
  "currency": "<string>",
  "name": "<string>",
  "nickname": "<string>",
  "description": "<string>",
  "status": "ACTIVE",
  "account_type": "ASSET",
  "account_subtype": "BANK",
  "account_cashflow_classification": "NONE",
  "include_in_eliminations": true,
  "include_in_revaluations": true,
  "protected": true,
  "created_at": "2023-11-07T05:31:56Z",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "last_recompute_balance_at": "2023-11-07T05:31:56Z",
  "lock_recompute_balance_key": "<string>",
  "customer": 123,
  "parent": 123,
  "parent_bank_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.