cURL
curl --request PATCH \ --url https://api.chift.eu/consumers/{consumer_id}/accounting/analytic-accounts/{analytic_account_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "active": true, "code": "<string>", "name": "<string>", "currency": "<string>" }'
{ "id": "<string>", "active": true, "code": "<string>", "name": "<string>", "currency": "<string>", "balance": 123, "credit": 123, "debit": 123 }
Update one specific analytic account in the default analytic plan
This access token needs to be included in each of your request to the Chift API.
Successful Response
The response is of type object.
object