Manage Customers
Customer
Add a Customer to the eCommerce Portal.
Success Response
Error Response
POST /api/customer HTTP/1.1
Host:
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 155
"customerGroupId=1&username='text'&email='text'&mobileNumber=1&password='text'&confirmPassword='text'&newsletter=1&mailStatus=1&status=1"
{
"customerGroupId": "text",
"firstName": "text",
"username": "text",
"email": "text",
"mobileNumber": "text",
"password": "text",
"mailStatus": "text",
"deleteFlag": 1,
"isActive": "text",
"createdDate": "text",
"id": 1
}
List of Customers in the eCommerce Portal.
Success Response
GET /api/customer?limit=1 HTTP/1.1
Host:
Authorization: text
Accept: */*
Success Response
{
"status": "1",
"message": "Successfully got count \" or \" Successfully got Customer list."
}
For viewing the entire details of a Customer.
Success Response
Error Response
GET /api/admin-customer/customer-detail/{id} HTTP/1.1
Host:
Authorization: text
Accept: */*
{
"status": "1",
"message": "successfully got Customer details."
}
Update any details of the Customer.
Success Response
Error Response
Error Response
PUT /api/customer/{id} HTTP/1.1
Host:
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 209
"customerGroupId=1&username='text'&email='text'&mobileNumber=1&password='text'&confirmPassword='text'&avatar='text'&newsletter=1&realName='text'&customerNo='text'&mailStatus=1&status=1"
{
"createdBy": 1,
"createdDate": "text",
"modifiedBy": 1,
"modifiedDate": "text",
"id": 1,
"firstName": "text",
"lastName": "text",
"username": "text",
"password": "text",
"email": "text",
"mobileNumber": "text",
"address": "text",
"countryId": 1,
"zoneId": "text",
"city": "text",
"local": "text",
"oauthData": "text",
"avatar": "text",
"newsletter": 1,
"avatarPath": "text",
"customerGroupId": "text",
"lastLogin": "text",
"safe": 1,
"ip": "text",
"mailStatus": "text",
"pincode": "text",
"deleteFlag": 1,
"isActive": "text",
"forgetPasswordKey": "text",
"linkExpires": "text",
"lockedOn": "text"
}
Delete a Customer if you no longer need them.
Success Response
Error Response
DELETE /api/customer/{id} HTTP/1.1
Host:
Authorization: text
Accept: */*
{
"status": "1",
"message": "Customer Deleted Successfully"
}
Delete a Customer, if you no longer need them.
Success Response
Error Response
POST /api/customer/delete-customer HTTP/1.1
Host:
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 18
"customerId=[1]"
{
"status": "1",
"message": "Successfully deleted customer."
}
Get the list of Customers in Excel.
Error Response
GET /api/customer/customer-excel-list?customerId=text HTTP/1.1
Host:
Authorization: text
Accept: */*
Error Response
{
"status": 1,
"message": "Invalid customerId"
}
List of all the Customers in Excel.
Error Response
GET /api/customer/allcustomer-excel-list?name=text&status=1&email=text HTTP/1.1
Host:
Authorization: text
Accept: */*
Error Response
{
"status": 1,
"message": "list is empty"
}
Count or number of Customers in the eCommerce portal.
Success Response
GET /api/customer/customer-count HTTP/1.1
Host:
Authorization: text
Accept: */*
Success Response
{
"status": "1",
"message": "Successfully got the Customer Count"
}
List of Products Ordered in the eCommerce portal.
Success Response
Error Response
GET /api/customer/order-product-list?limit=1 HTTP/1.1
Host:
Authorization: text
Accept: */*
{
"status": "1",
"message": "Successfully got the count of order product count \" or \" Successfully got order product list"
}
Log list of Product Views in the eCommerce Portal.
Success Response
GET /api/customer/product-view-log-list?limit=1 HTTP/1.1
Host:
Authorization: text
Accept: */*
Success Response
{
"status": "1",
"message": "Successfully got the count of order product count \" or \" Successfully got order product list"
}
List of Vendor related graphs.
Success Response
Error Response
GET /api/customer/vendor-graph-list?vendorId=1&duration=1 HTTP/1.1
Host:
Authorization: text
Accept: */*
{
"status": "1",
"message": "Successfully got the vendor graph list"
}
List of Customer visits to the eCommerce portal.
Success Response
GET /api/customer/customer-visit-list?month=1&year=1 HTTP/1.1
Host:
Authorization: text
Accept: */*
Success Response
{
"status": "1",
"message": "Successfully got the customer visit list"
}
Customer Group
Creation of a Customer group in the eCommerce portal.
Success Response
Error Response
POST /api/customer-group HTTP/1.1
Host:
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 66
"name='text'&description='text'&colorcode='text'&status=1"
{
"name": "text",
"colorCode": "text",
"isActive": "text",
"createdDate": "2025-08-30T03:45:12.979Z",
"groupId": 1
}
List of Customer groups.
Success Response
GET /api/customer-group HTTP/1.1
Host:
Authorization: text
Accept: */*
Success Response
{
"status": 1,
"message": "Successfully got all customer group List"
}
Updating or editing Customer group.
Success Response
Error Response
PUT /api/customer-group/{id} HTTP/1.1
Host:
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 66
"name='text'&description='text'&colorcode='text'&status=1"
{
"name": "text",
"colorCode": "text",
"isActive": "text",
"modifiedDate": "2025-08-30T03:45:12.979Z",
"groupId": 1
}
For deleting a customer group, if no longer required.
Success Response
Error Response
DELETE /api/customer-group/{id} HTTP/1.1
Host:
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 13
"groupId=1"
{
"status": 1,
"message": "Group Deleted Successfully."
}
Last updated