Buyers
This endpoint retrieves the total count of customers.
Successfully got the buyer count
1Successfully got the buyer CountGET /backend/api/admin-customer/customer-count HTTP/1.1
Host: 139.59.67.17
Accept: */*
Successfully got the buyer count
{
"status": 1,
"message": "Successfully got the buyer Count"
}This endpoint retrieves the list of customers with optional filters such as customer group, date, email, and name.
Filter by customer group
Filter by date
Search by keyword
Filter by email address
Filter by customer name
Limit the number of results
Offset for pagination
Indicates if only count is returned (1 for count, 0 for list)
Filter by customer status
Bearer token for authentication.
Successfully got the customer list
1Successfully got Customer list.GET /backend/api/admin-customer HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
Successfully got the customer list
{
"status": 1,
"message": "Successfully got Customer list."
}This endpoint allows the creation of a new customer with the provided details.
Bearer token for authentication.
75testtest@gmail.com4364536456Picco123@Picco123@012Successfully created a new customer
1Buyer created successfullyPOST /backend/api/admin-customer HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: */*
Accept: */*
Content-Length: 213
{
"customerGroupId": 75,
"username": "test",
"email": "test@gmail.com",
"mobileNumber": "4364536456",
"password": "Picco123@",
"confirmPassword": "Picco123@",
"avatar": "",
"newsletter": "",
"mailStatus": 0,
"status": "1",
"siteId": 2
}Successfully created a new customer
{
"status": 1,
"message": "Buyer created successfully"
}This endpoint retrieves the list of customer groups with optional filters such as keyword, limit, and offset.
Limit the number of results
Offset for pagination
Search by keyword
Indicates if only count is returned (1 for count, 0 for list)
Bearer token for authentication.
Successfully got all customer group list
1Successfully got all customer group ListGET /backend/api/customer-group HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
Successfully got all customer group list
{
"status": 1,
"message": "Successfully got all customer group List"
}This endpoint retrieves the current system settings.
Successfully retrieved settings
1Successfully got settingsGET /backend/api/settings HTTP/1.1
Host: 139.59.67.17
Accept: */*
Successfully retrieved settings
{
"status": 1,
"message": "Successfully got settings"
}Retrieves the details of a specific customer by their ID
ID of the customer
Bearer token for authentication.
Successfully retrieved customer details
1Successfully got buyer detailsCustomer not found
GET /backend/api/admin-customer/customer-detail/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
{
"status": 1,
"message": "Successfully got buyer details"
}Updates the details of a specific customer
ID of the customer
Bearer token for authentication.
Successfully updated the customer
1Buyer updated successfullyCustomer not found
PUT /backend/api/admin-customer/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: */*
Accept: */*
Content-Length: 217
{
"customerGroupId": 1,
"username": "text",
"email": "text",
"mobileNumber": "text",
"password": "text",
"confirmPassword": "text",
"avatar": "text",
"newsletter": "text",
"mailStatus": 1,
"status": "text",
"siteId": 1,
"customerId": "text"
}{
"status": 1,
"message": "Buyer updated successfully"
}Last updated

