List categories

Returns product categories for the organization. Each category `id` is a UUID.

GEThttps://api.tracksales.co/v1/categories

Required scope: categories:read

Request URL: https://api.tracksales.co/v1/categories

Query Params

searchstring

Search by name, code, or reference

location_idinteger

Filter by branch/location ID

limitinteger

Page size (default 20, max 100)

offsetinteger

Pagination offset (default 0)

Responses

200OK

Request succeeded.

401Unauthorized

API key is missing or invalid.

403Forbidden

API key lacks the required scope.

404Not Found

Categories was not found.

422Validation Error

Request validation failed.