Organizations / Add product category

Add a product category to this organization.

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

Method: POST

Authorisation: Minimum role: ADMIN

Request Arguments
Name Type Source
idInt32
inputDTO_tenant_product_category_inputBody

  Request body example

Response object

Response status: 200 (OK)

Response type: DTO_tenant_product_category

Wrapper: DTO_response_wrap

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

  Response body example

DTO_tenant_product_category_input
NameTypeReadOnlyDescription
product_category_idInt32Product category id
DTO_tenant_product_category
NameTypeReadOnlyDescription
idInt32Id
product_category_idInt32Product category id
product_categoryDTO_product_category_UIProduct category
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