Accounts
Retrieve an account's KPIs
Returns the account’s revenue and order counters, under account_kpis.
GET
cURL
Returns totals such as
total_revenue, total_outstanding and total_orders. Money values are strings, such as 0.00; the order counts are integers.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set
host to your Exsited API host name and paste an access token from Get an access token.Authorizations
An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.
Path Parameters
The account's id, such as ACC0001. Not its uuid.
Response
200 - application/json
The counters, under account_kpis.
The account's revenue and order counters. Money values are strings, such as 0.00.