Skip to main content

Product Category

Class name: ProductCategory

PropertyTypeDescriptionRequired
namestringThe name of the product categoryYes
slugstringThe slug of the product categoryYes
statusenumThe status of the product category. Options: published, draftYes
parentIdstringThe id of the parent category (if this is a subcategory). In a case where this is a sub-sub-category, this will be the parentID/sub-parentID.No
descriptionstringThe description of the product category. 300 characters maxNo
imageIdstringThe id of the image associated with the product categoryNo
note

Product categories can only be created by admins