Tenant product categories / List
List product categories configured for the calling user's tenant.
Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/tenant_product_categories
Method: GET
Authorisation: Minimum role: USER
Request Arguments
| Name | Type | Source |
|---|
Request body example
Response object
Response status: 200 (OK)
Response type: DTO_product_category_UI[]
Wrapper: DTO_response_wrap
Other response statuses: 403 (Forbidden)
Response body example
DTO_product_category_UI
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| id | Int32 | Id | |
| name | String | Name | |
| description | String | Description | |
| parent_id | Int32 (nullable) | Parent id | |
| name_path | String[] | Name path | |
| children | DTO_product_category_UI[] | Children | |
| created_by | DTO_reference_user | Created by | |
| last_updated_by | DTO_reference_user | Last updated by | |
| created | DateTime | Created | |
| last_updated | DateTime | Last updated |
DTO_product_category_UI
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| id | Int32 | Id | |
| name | String | Name | |
| description | String | Description | |
| parent_id | Int32 (nullable) | Parent id | |
| name_path | String[] | Name path | |
| children | DTO_product_category_UI[] | Children | |
| created_by | DTO_reference_user | Created by | |
| last_updated_by | DTO_reference_user | Last updated by | |
| created | DateTime | Created | |
| last_updated | DateTime | Last updated |
DTO_reference_user
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| profile_pic | String | ReadOnly | Profile pic |
| String | ReadOnly | ||
| role_enum_id | tenant_user_role (nullable) | Role enum id | |
| id | Int32 | Id | |
| label | Object | ReadOnly | Label |