Financial

Get Accounting Groups

Changed on

Returns all accounting groups for a business location.

get/f/finance/{businessLocationId}/accountingGroups

Request

  • Base URL
    https://api.trial.lsk.lightspeed.app
  • URL
    https://api.trial.lsk.lightspeed.app/f/finance/{businessLocationId}/accountingGroups
  • Auth
    OAuth 2
    Authorization code: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/auth
    Token URL: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token scopes: financial-api

Path parameters

businessLocationIdinteger required

The unique identifier for the business location.

Response

Accounting groups returned

Example response

{
  "_embedded": {
    "accountingGroupList": [
      {
        "accountingGroupId": 1234567890,
        "name": "Food",
        "statisticGroup": "[{\"category\":\"default\",\"value\":\"Food\"}]",
        "code": "fd"
      }
    ]
  },
  "_links": {
    "self": {
      "href": "https://api.ikentoo.com/f/finance/1234567/accountingGroups"
    }
  }
}

Changes