cURL
curl --request POST \ --url https://api.chift.eu/consumers/{consumer_id}/accounting/analytic-accounts \ --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 }
Create a new 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