Skip to main content

Update category by id

Update category by id

Authorizations:Token
Query Parameters
id
required
integerId value of the Category object
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
demobooleanFlag, if the product participates in the sale
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
orderbyInProductinteger
categoryobject
productobject
childrenArrayChild categories
parent
cleanURLsArrayClean URLs
metaDescTypestringMeta description type
xcPendingExportbooleanFlag to exporting entities

Responses

200Success
Response schema:
Success
couponsArrayCoupons
featuredProductsArrayFeatured products (relation)
ogMetastringCustom Open graph meta tags
useCustomOGbooleanUser Open graph meta tags generator flag
demobooleanFlag, if the product participates in the sale
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
orderbyInProductinteger
categoryobject
productobject
childrenArrayChild categories
parent
cleanURLsArrayClean URLs
metaDescTypestringMeta description type
xcPendingExportbooleanFlag to exporting entities