Get Accounting Groups
Returns all accounting groups for a business location.
Path parameters
-
The unique identifier for the business location.
GET /f/finance/{businessLocationId}/accountingGroups
curl \
-X GET https://api.trial.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"
}
}
}