v1

latestOpenAPI 3.1.02026-07-22155403592.5 KB
Point of Sale
Categories

Get accounting categories

Returns a list of accounting categories. When not available for a specific POS, it will return the same values as the product categories.

get/consumers/{consumer_id}/pos/accounting-categories

Path parameters

consumer_idstring uuid required

Query parameters

pageinteger

Page number

sizeinteger

Page size

location_idstring nullable

Unique identifier of the location. If none passed, accounting categories from all locations will be returned unless the location was selected by the end-user

Response

Successful Response

totalinteger required
pageinteger required
sizeinteger required

Example response

{
  "items": [
    {
      "id": "371ca583-d218-4900-b236-397532cf0e2",
      "name": "Beverages",
      "code": "123456",
      "ledger_account_code": "123456",
      "posting_account_code": "123456"
    }
  ]
}