Get Accounting Groups

GET /f/finance/{businessLocationId}/accountingGroups

Returns all accounting groups for a business location.

Path parameters

Responses

  • 200 application/json

    Accounting groups returned

    Hide response attributes Show response attributes object
    • the list of accounting groups

      Hide _embedded attribute Show _embedded attribute
      • accountingGroupList array[object]
        Hide accountingGroupList attributes Show accountingGroupList attributes object
        • The numeric identifier of the accounting group

        • name string

          The name of the accounting group

        • The assigned statistic group, if applicable

        • code string

          The code assigned to the accounting group, if applicable

  • 400

    Bad Request

GET /f/finance/{businessLocationId}/accountingGroups
curl \
 -X GET https://api.lsk.lightspeed.app/f/finance/{businessLocationId}/accountingGroups \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "_embedded": {
    "accountingGroupList": [
      {
        "accountingGroupId": 1234567890,
        "name": "Food",
        "statisticGroup": "[{\"category\":\"default\",\"value\":\"Food\"}]",
        "code": "fd"
      }
    ]
  },
  "_links": {
    "self": {
      "href": "https://api.ikentoo.com/f/finance/1234567/accountingGroups"
    }
  }
}