Order Return List
POST
{{apiUrl}}b2b/return/list
Request Body
start_date*
Date
Date of the bill.
Format: YYYY-MM-DD
end_date*
Date
Date of the bill.
Format: YYYY-MM-DD
apikey*
String
Authentication token
order_number
String
Unique order number which got generated while saving order
bill_no
String
The number of the bill like for eg. 1, 2, 3...
reference_number
Number
Generated reference number to bill for eg. 1, 2, 3...
buyer_chemist_id
String
Id to uniquely identify the chemist for whom the order is saved
searchstring
String
Min: 3 char required, accepts: 1. pharmacy_name 2. area
payment_status
Number
To choose payment mode of the order.
1: CASH
2: CREDIT
3: UPI
4: CHEQUE
5: PAYTM
6: CC/DC
7: RTGS/NEFT
orderby
String
Field to order results by, accepts: 1. reference_number 2. bill_no 3. bill_date 4. created_date (default) 5. pharmacy_name 6. amount 7. area
order
String
Order direction, accepts: 1. asc 2. desc (default)
remark
String
Note for the Prescription if any
{
"status_code": "1",
"status_message": "Success",
"datetime": "2024-10-01 15:27:42",
"data": {
"rpp": 20,
"current_page": 1,
"staff_list": [
{
"id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
"fullname": "Owner",
"status": "active",
"entity": "chemist",
"role_id": "aBs1Hvl3Duj0n3tGG09Biw=="
},
{
"id": "AUggj/Nbe8fOBBWEUBAysA==",
"firstname": "Raju",
"lastname": "R",
"status": "active",
"role_id": "S7BTDcQD0IFOO7ypLxnmRg==",
"role_name": "Store Manager",
"fullname": "Raju R",
"entity": "staff"
}
],
"results": [
{
"id": "tktJBTVofF3vGazDa6GlOQ==", // Rturn Order ID
"buyer_chemist_id": "9RraDPXEXeI+7FJlRkv7Kw==",
"chemist_id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
"area": "",
"reference_number": 58,
"bill_no": "",
"bill_date": "2024-09-24",
"amount": 847,
"payment_status": 2,
"order_number": "0340854368",
"order_by_id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
"order_by_entity": "chemist",
"order_by_name": "Owner",
"created_date": "2024-10-01 15:07:08",
"remark": "",
"pharmacy_name": "rrr",
"einvoice_url": "",
"mobile": "7656789034",
"total": 0
},
{
"id": "f4Prpako4VmiRuhdUA8gYg==",
"buyer_chemist_id": "9RraDPXEXeI+7FJlRkv7Kw==",
"chemist_id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
"area": "",
"reference_number": 57,
"bill_no": "",
"bill_date": "2024-09-24",
"amount": 847,
"payment_status": 2,
"order_number": "3983669004",
"order_by_id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
"order_by_entity": "chemist",
"order_by_name": "Owner",
"created_date": "2024-10-01 14:56:06",
"remark": "",
"pharmacy_name": "rrr",
"einvoice_url": "",
"mobile": "7656789034",
"total": 0
}
]
}
}
Last updated
Was this helpful?