API ReferenceCategories
Categories API
Total endpoints: 15
Source: routes/category.js
GET
/api/getAllProductCatgeoryGet getAllProductCatgeory
GET
/api/getAllCategoryWithSubcategoryAuth RequiredGet getAllCategoryWithSubcategory
DELETE
/api/removeCategoryImageAuth RequiredDelete removeCategoryImage
DELETE
/api/deleteCategoriesAuth RequiredDelete deleteCategories
PUT
/api/update-category-statusAuth RequiredUpdate update category status
GET
/api/getsubcategoriesAuth RequiredGet getsubcategories
DELETE
/api/subcategory_delete/:idAuth RequiredDelete subcategory_delete
PUT
/api/updateNestedSubcategoriesAuth RequiredNested Subcategory Modification
DELETE
/api/removeNestedCategoryAuth RequiredDelete removeNestedCategory
Source: routes/dynamic_category.js
GET
/api/categories/getAllAuth RequiredGet categories getAll
POST
/api/delete-dynamic-categoriesAuth RequiredCreate or update delete dynamic categories
Source: routes/subcategory.js
GET
/api/getAllSubcategoriesGet getAllSubcategories
POST
/api/updateSubcategoryAPI endpoint to update a subcategory
POST
/api/addNewSubCategoriesCreate or update addNewSubCategories
POST
/api/deleteSubcategoryDelete a subcategory by ID