Product Categories
This is for adding a new category.
success response
error response
POST /category HTTP/1.1
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 194
"parentInt=1&sortOrder=1&status=1&name='text'&image='text'&metaTagTitle='text'&metaTagDescription='text'&metaTagKeyword='text'&categorySlug='text'&categoryDescription='text'"{
"name": "text",
"sortOrder": "text",
"metaTagTitle": "text",
"categorySlug": "text",
"metaTagDescription": "text",
"metaTagKeyword": "text",
"isActive": "text",
"categoryDescription": "text",
"createdDate": "2026-01-01T00:00:00.000Z",
"categoryId": 1
}This is for fetching the list of added categories.
success response
1Successfully got the vendor category list.GET /category?limit=1&sortOrder=1&status=1 HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "Successfully got the vendor category list."
}This is for updating already existing category.
success response
error response
PUT /category/{id} HTTP/1.1
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 209
"categoryId=1&parentInt=1&sortOrder=1&status=1&name='text'&image='text'&metaTagTitle='text'&metaTagDescription='text'&metaTagKeyword='text'&categorySlug='text'&categoryDescription='text'"{
"createdDate": "text",
"categoryId": 1,
"name": "text",
"image": "text",
"imagePath": "text",
"sortOrder": "text",
"metaTagTitle": "text",
"metaTagDescription": "text",
"metaTagKeyword": "text",
"categorySlug": "text",
"isActive": "text",
"categoryDescription": "text"
}This is for deleting a category that is not needed anymore.
success response
1Successfully deleted category.error response
DELETE /category/{id} HTTP/1.1
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 16
"categoryId=1"{
"status": 1,
"message": "Successfully deleted category."
}This is for listing the category like in tree.
success response
1Successfully get category List count " or " successfully got the complete category list.GET /category-list-intree?limit=1&sortOrder=1 HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "Successfully get category List count \" or \" successfully got the complete category list."
}This is for updating the existed category slug
success response
1Successfully updated the category slug.PUT /update-category-slug HTTP/1.1
Accept: */*
success response
{
"status": 1,
"message": "Successfully updated the category slug."
}This is for count the total category
success response
1Successfully get Category CountGET /category-count?limit=1&sortOrder=1 HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "Successfully get Category Count"
}This is for getting the list of category.
success response
1Successfully got category detailerror response
GET /category-detail?categoryId=1 HTTP/1.1
Authorization: text
Accept: */*
{
"status": 1,
"message": "Successfully got category detail"
}This is for getting the list of category on excel-sheet.
error response
Choose atleast one category.GET /category-excel-list?categoryId=text&sortOrder=1 HTTP/1.1
Authorization: text
Accept: */*
error response
{
"status": 1,
"message": "Choose atleast one category."
}This is for export all the category.
success response
1Successfully exportedGET /category-export-all HTTP/1.1
Authorization: text
Accept: */*
success response
{
"status": 1,
"message": "Successfully exported"
}Last updated

