PATCH
/
consumers
/
{consumer_id}
/
accounting
/
analytic-accounts
/
{analytic_account_id}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

analytic_account_id
string
required
consumer_id
string
required

Query Parameters

folder_id
string

Accounting folder ID, this needs to be passed when activating the multiple folders feature.

Body

application/json
active
boolean
default:
true
code
string
currency
string

Indicates the currency of the analytic account (e.g. EUR).

name
string

Response

200 - application/json
active
boolean
required
id
string
required
name
string
required
balance
number
default:
0
code
string
credit
number
default:
0
currency
string

Indicates the currency of the analytic account (e.g. EUR).

debit
number
default:
0