Customer List
To get the patient details
Get Patient
POST
{{apiUrl}}b2b/b2b_customers
Request Body
Name
Type
Description
apikey*
String
Authentication token
searchstring
String
Min: 3 char required, accepts: 1. pharmacy name 2.mobile number 3. area
orderby
String
Field to order results by, accepts: 1. pharmacy_name (default) 2. net_credit 3. area
order
String
Order direction, accepts: 1. asc (default) 2. desc
{
"status_code": "1",
"status_message": "Success",
"datetime": "2024-10-01 17:47:32",
"data": {
"current_page": 1,
"rpp": 20,
"results": [
{
"net_credit": 0,
"chemist_name": "Milton Pharmacy",
"customer_attributes_mobile": "8888885559",
"pharmacy_name": "Milton Pharmacy",
"mobile": "8888885559",
"buyer_chemist_id": "T8JDTcqL4yfys2dMdww02A==",
"area": "Motera",
"state": "Gujarat",
"country": "India",
"zipcode": "380005",
"city": "Ahmedabad",
"status": "active"
},
{
"net_credit": 0,
"chemist_name": "Doe Pharmacy",
"customer_attributes_mobile": "8564213978",
"pharmacy_name": "Doe Pharmacy",
"mobile": "8564213978",
"buyer_chemist_id": "NwwR8+AEqAAr8JXDyAeqYQ==",
"area": "",
"state": "Karnataka",
"country": "India",
"zipcode": "560025",
"city": "Bangalore",
"status": "active"
}
]
}
}
Last updated
Was this helpful?