Product categories / List

List all product categories as a tree (global).

Route: /api/sys/v{version:apiVersion}/product_categories

Method: GET

Authorisation: ONLY ADMIN

Request Arguments
Name Type Source
filterDTO_standard_filterQuery

  Request body example

Response object

Response status: 200 (OK)

Response type: DTO_product_category_UI[]

Wrapper: DTO_response_wrap_get_many

Other response statuses: 400 (BadRequest), 403 (Forbidden)

  Response body example

DTO_standard_filter
NameTypeReadOnlyDescription
channelStringChannel
sort_by_keyStringSort by key
brand_idsInt32[]Brand ids
response_field_keysString[]Only return the fields specified
filtersString[]Each string needs to be structured: filters=field_key:operator:value1|value2|value3 Only used to store filters for passing along as querystring
include_aggregationsBooleanInclude aggregations
include_importedBooleanInclude imported
searchStringSearch
sort_orderENUM sort_orderSort order
takeInt32Take
pageInt32Page
DTO_product_category_UI
NameTypeReadOnlyDescription
idInt32Id
nameStringName
descriptionStringDescription
parent_idInt32 (nullable)Parent id
name_pathString[]Name path
childrenDTO_product_category_UI[]Children
created_byDTO_reference_userCreated by
last_updated_byDTO_reference_userLast updated by
createdDateTimeCreated
last_updatedDateTimeLast updated
DTO_product_category_UI
NameTypeReadOnlyDescription
idInt32Id
nameStringName
descriptionStringDescription
parent_idInt32 (nullable)Parent id
name_pathString[]Name path
childrenDTO_product_category_UI[]Children
created_byDTO_reference_userCreated by
last_updated_byDTO_reference_userLast updated by
createdDateTimeCreated
last_updatedDateTimeLast updated
DTO_reference_user
NameTypeReadOnlyDescription
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
role_enum_idtenant_user_role (nullable)Role enum id
idInt32Id
labelObjectReadOnlyLabel
ENUM sort_order
ValueNameDescription
0ASCASC
1DESCDESC