Categories

List categories

Retrieves the merchant's product categories, paginated. Filter by name with q, or narrow the list to categories created inside a date range.

get/v2/category

Request

  • Base URL: https://test-api.kashier.io
  • URL: https://test-api.kashier.io/v2/category
  • Auth: API key in header Authorization

Query parameters

qstring

Free-text search across category names.

pageinteger

Current page number.

limitinteger

Number of records per page.

sortBystring required

Field to sort by, for example name. This one is required — a request without it comes back as "sortBy" is required.

sortType1 | -1

Sorting direction: 1 = ascending, -1 = descending.

fromstring

Only return categories created after this date. Example: 01-01-2024

tostring

Only return categories created before this date. Example: 31-12-2024

Response

The categories matching the filters, with pagination info.

Changes

No recorded changes to this operation across all 1 revision of this API.