Manage Buyer
This endpoint retrieves the total count of customers.
Successfully got the buyer count
GET /backend/api/admin-customer/customer-count HTTP/1.1
Host: 139.59.67.17
Accept: */*
Successfully got the buyer count
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the buyer Count</message>
</object>
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
GET /backend/api/admin-customer HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
Successfully got the customer list
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got Customer list.</message>
</object>
This endpoint allows the creation of a new customer with the provided details.
Bearer token for authentication.
75
test
[email protected]
4364536456
Picco123@
Picco123@
0
1
2
Successfully created a new customer
POST /backend/api/admin-customer HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 213
"customerGroupId=75&username='test'&email='[email protected]'&mobileNumber='4364536456'&password='Picco123@'&confirmPassword='Picco123@'&avatar=''&newsletter=''&mailStatus=0&status='1'&siteId=2"
Successfully created a new customer
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Buyer created successfully</message>
</object>
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
GET /backend/api/customer-group HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
Successfully got all customer group list
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got all customer group List</message>
</object>
This endpoint retrieves the current system settings.
Successfully retrieved settings
GET /backend/api/settings HTTP/1.1
Host: 139.59.67.17
Accept: */*
Successfully retrieved settings
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got settings</message>
</object>
Retrieves the details of a specific customer by their ID
ID of the customer
Bearer token for authentication.
Successfully retrieved customer details
Customer not found
GET /backend/api/admin-customer/customer-detail/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got buyer details</message>
</object>
Updates the details of a specific customer
ID of the customer
Bearer token for authentication.
Successfully updated the customer
Customer not found
PUT /backend/api/admin-customer/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
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'"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Buyer updated successfully</message>
</object>
Last updated