GET
/
api
/
item-categories
[
  {
    "id": 1,
    "name": "Electronics",
    "description": "Electronic devices and accessories",
    "costAccountId": 1,
    "sellAccountId": 1,
    "inventoryAccountId": 1,
    "costMethod": "FIFO",
    "userId": 1,
    "createdAt": "2024-03-20T10:00:00Z",
    "updatedAt": "2024-03-20T10:00:00Z",
    "count": 5
  }
]

Headers

Authorization
string
required

Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Response

200 - application/json

The item categories have been successfully retrieved.

The response is of type object[].