Create New Category
Create new Cateogry
Request Body
descriptionsobjectObject with language ids as index
Example: {"3":{"name":"T-shirts","description":"My T-shirts description","meta_title":"T-shirts","meta_description":"My T-shirts description","meta_keyword":"My,T-shirts,clothes"}}parent_idstringSet parent category (from your own categories ids), set 0 to ignore this option
Example: 2Default: 0keywordstringSet url keyword
Example: my-categoryimagestringInser valid image url (best to use cloudinary service to upload there first)
topinteger · booleanShow/Hide this category at the top bar (0/1)
sort_orderintegerSet category order number (affect the visual part in the store)
Example: 12homefeaturedinteger · booleanShow/Hide this category at the main page (1/0)
statusinteger · booleanEnable/Disable this category (1/0)
hiddeninteger · booleanShow/Hide the category from the store area (will be available by direct link to)
Responses
success
successbooleanExample: trueresponsestringExample: Category created successfully, id: 126category_idintegerExample: 126request_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Get existing category data
Get Category data by ID
path Parameters
category_idinteger · int64 · requiredcategory ID
Responses
success
successbooleanExample: truecategory_idintegerExample: 45sort_orderintegerExample: 10topintegerExample: 0parent_idintegerExample: 2statusintegerExample: 1imagestringExample: https://example.com/images/sample-image.pngkeywordstringExample: new-keyword-123homefeaturedintegerExample: 1hiddenintegerExample: 1urlstringExample: https://example.com/new-category-urldescriptionobjectThe key of the object represent the language id
Example: {"3":{"name":"Canned Goods","description":"Assorted canned goods.","meta_title":"Canned Goods","meta_description":"Variety of canned goods.","meta_keyword":"Canned,Goods,Food"}}category_filtersobjectExample: {"30":{"filter_id":30,"filter_name":"Added Value","filter_group_id":16,"filter_group_name":"Value Group"}}request_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Edit existing category
Edit existing category by category ID
path Parameters
category_idinteger · int64 · requiredCategory Id
Request Body
descriptionsobjectObject with language ids as index
Example: {"3":{"name":"T-shirts","description":"My T-shirts description","meta_title":"T-shirts","meta_description":"My T-shirts description","meta_keyword":"My,T-shirts,clothes"}}parent_idstringSet parent category (from your own categories ids), set 0 to ignore this option
Example: 2Default: 0keywordstringSet url keyword
Example: my-categoryimagestringInser valid image url (best to use cloudinary service to upload there first)
topinteger · booleanShow/Hide this category at the top bar (0/1)
sort_orderintegerSet category order number (affect the visual part in the store)
Example: 12homefeaturedinteger · booleanShow/Hide this category at the main page (1/0)
statusinteger · booleanEnable/Disable this category (1/0)
hiddeninteger · booleanShow/Hide the category from the store area (will be available by direct link to)
Responses
success
successbooleanExample: trueresponsestringExample: Category updated successfully, id: 126request_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49