Skip to main content

Add new category

Add new category

Authorizations:Token
Request Body Schema:
Category object that needs to be added
couponsArrayCoupons
featuredProductsArrayFeatured products (relation)
ogMetastringCustom Open graph meta tags
useCustomOGbooleanUser Open graph meta tags generator flag
productClassesArrayCategory classes
useClassesstringStatus code
category_idintegerNode unique ID
lposintegerNode left value
rposintegerNode right value
enabledbooleanNode status
show_titlebooleanWhether to display the category title, or not
depthintegerCategory "depth" in the tree
posintegerCategory position parameter. Sort inside the parent category
root_category_lookstringWhether to display the category title, or not
quickFlags
membershipsArrayMemberships
image
banner
categoryProductsArray of objects (Relation to a CategoryProducts entities)Relation to a CategoryProducts entities
Array
idinteger
orderbyinteger
categoryobject
productobject
childrenArrayChild categories
parent
cleanURLsArrayClean URLs
metaDescTypestringMeta description type
xcPendingExportbooleanFlag to exporting entities
lastUsageintegerLast usage timestamp (assign products event)

Responses

200Success
Response schema:
Success
couponsArrayCoupons
featuredProductsArrayFeatured products (relation)
ogMetastringCustom Open graph meta tags
useCustomOGbooleanUser Open graph meta tags generator flag
productClassesArrayCategory classes
useClassesstringStatus code
category_idintegerNode unique ID
lposintegerNode left value
rposintegerNode right value
enabledbooleanNode status
show_titlebooleanWhether to display the category title, or not
depthintegerCategory "depth" in the tree
posintegerCategory position parameter. Sort inside the parent category
root_category_lookstringWhether to display the category title, or not
quickFlags
membershipsArrayMemberships
image
banner
categoryProductsArray of objects (Relation to a CategoryProducts entities)Relation to a CategoryProducts entities
Array
idinteger
orderbyinteger
categoryobject
productobject
childrenArrayChild categories
parent
cleanURLsArrayClean URLs
metaDescTypestringMeta description type
xcPendingExportbooleanFlag to exporting entities
lastUsageintegerLast usage timestamp (assign products event)