Lightspeed Restaurant K Series API
1.0.0

Lightspeed Restaurant offers a REST API in order to communicate with the data in the system. These APIs are built using the RESTful standards and adhere to the basic verb interactions as defined by the REST standard.

These services are in continuous development and subject to change. Find our versioning policy here.

This is the documentation for version 1.0.0 of the API. Last update on May 1, 2024.

Base URL
https://api.trial.lsk.lightspeed.app

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.trial.lsk.lightspeed.app/f/finance/45454565682155/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"
    }
  }
}