eVitalRx
  • API - powered by eVitalRx
  • Getting Started with eVitalRx
  • API FOR Product Catalogue
    • Introduction
    • Medicines
      • Search Product
      • Product Details
      • Search Content
      • Request Product
      • Get Categories
      • Get Category Products
  • API FOR Patient App
    • Introduction
    • Login/Signup
      • Signup send OTP
      • Signup
      • Login
      • Forgot password send OTP
      • Reset password
      • Change password
    • Patients
      • Add Patient
      • Update Patient
      • Get Patient
      • Add Patient family member
    • Addresses
      • List Addresses
      • Add-Update Address
      • Set Default Address
      • Delete Address
    • Medicines
      • Search Products
      • Search Manufacturer
      • Product Details
      • Get Stock details
      • Get Product Batch
      • Search Content
      • Branded to Generic
      • Get Categories
      • Get Category Products
      • Get Entity Categories
      • Get Entity Category Products
    • Orders
      • Place Order
      • Cancel Order
      • Save
      • Order Details
      • Order List
      • Mark as Accept
      • Mark as Reject
      • Get Reject Reasons
      • Get Chemist Order Settings
      • â›”Mark as Shipped
      • Mark as Delivered
      • Order Return
      • Order Return Details
  • API FOR EMR/HMIS SOFTWARE
    • Introduction
    • Medicines
      • Search Products
      • Product Details
      • Get Inventory Status
      • Get Inventory Items
      • Get Alternatives
      • Get Product Batch
      • Get Expired Batches
      • Request Product
      • Branded to Generic
      • Search Content
      • Add Favorite Medicine
    • Patients
      • Add Patient
      • Get Patient
      • Update Patient
      • Add Patient family member
    • Orders
      • Push Prescription
      • Order Details
      • Order List
      • â›”Update Order
      • Save
  • API FOR Custom Fields
    • Introduction
    • Add Custom Fields
    • Update Custom Field
    • Delete Custom Fields
    • List Custom Fields
  • API FOR MASTER
    • Reports
      • Margin Report
      • Stock Summary
  • API FOR FULFILLMENT
    • Introduction
    • Medicines
      • Search Products
      • Product Details
    • Orders
      • Check Serviceability
      • â›”Checkout
      • Checkout V2
      • â›”Place Order
      • Place Order V2
      • â›”Order Details
      • Order Details V2
      • â›”Cancel Order
      • Cancel Order V2
      • Get Reject Reasons
    • Patients
      • Add Patient
      • Get Patient
  • API FOR B2B
    • Introduction
    • Orders
      • Order Save
      • Order Save as Draft
      • Order List
      • Order Details
      • Order Return Save
      • Order Return List
      • Order Return Details
    • Customers
      • Add / Update Customer
      • Customer List
  • Webhook Responses
    • Introduction
    • Medicine Webhook
    • Transaction Webhook
    • Draft Save
    • Draft Edit
    • Order Save
    • Order Edit
    • Order Accepted
    • Order Rejected
    • Order Shipped
    • Order Delivered
    • Order Split
  • Others
    • Terms & Conditions
Powered by GitBook
On this page

Was this helpful?

  1. API FOR Patient App
  2. Orders

Order Return Details

PreviousOrder ReturnNextIntroduction

Last updated 5 months ago

Was this helpful?

View Sales Return bill with API

POST

This API will make a Sales Return bill. chemist no need to go to the eVitalRx portal to complete the Return bill.

Request Body

Name
Type
Description

*chemist_sales_return_id

String

Order ID from the Response of sales_return API.

apikey*

String

Authentication token

{
    "status_code": "1",
    "status_message": "Success",
    "datetime": "2024-12-06 11:20:56",
    "ng_version": "0.0.787",
    "data": {
        "order_id": "zD2GbRYPHMaC/CL7Ot4Yjg==",
        "patient_name": "Avi Patel",
        "patient_id": "",
        "order_number": "EBD70731003365",
        "order_date": "2024-07-24",
        "amount": 23.5,
        "mobile": "",
        "order_status": "completed",
        "address": null,
        "address_line2": null,
        "city": null,
        "zipcode": null,
        "created_date": "2024-12-06 11:02:32",
        "total": 24,
        "payment_status": 2,
        "payment_date": "1900-01-01 12:00:00",
        "method_name": "Credit",
        "order_by_id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
        "order_by_entity": "chemist",
        "reference_number": 4,
        "remark": "",
        "roundoff": 0.5,
        "utm_source": "",
        "doctor_id": "",
        "total_discount": 0,
        "lock_bill": "no",
        "user_id": 0,
        "parent_patient_id": "",
        "sales_reference_id": "",
        "is_unlink_record": "no",
        "total_gst": 2.41,
        "total_cess": 1,
        "total_qty": 10,
        "items": [
            {
                "medicine_id": "TF7Wm49nceLV+NmoM6HJYw==",
                "base_price": 23.5,
                "quantity": 10,
                "mrp": 23.5,
                "discount_percentage": 0,
                "batch": "WER321",
                "expiry": "2030-02-01",
                "gst": 2.41,
                "gst_percentage": 12,
                "cess": 1,
                "cess_percentage": 5,
                "hsn_code": "345335",
                "amount": 23.5,
                "medicine_name": "Ltk 50 Tablet",
                "size": 10,
                "pack_size": "10 Tablets",
                "packing_size": "10 tablets in 1 strip",
                "manufacturer_name": "Unison Pharmaceuticals Pvt Ltd",
                "content": "Losartan (50mg)",
                "location": "", // location of the medicine in pharmacy
                "stock_adjusted": "pending",
                "discount": 0,
                "order_type": "sale_return",
                "landing_price": 18.540045125038404
            }
        ],
        "billing_for_details": {
            "patient_id": "",
            "patient_name": "Avi Patel",
            "mobile": "",
            "aadhar_number": "",
            "patient_address": "",
            "patient_city": null,
            "gstn_number": "",
            "patient_zipcode": null,
            "profile_picture": "",
            "discount_percentage": 0,
            "email": "",
            "status": "active"
        },
        "is_already_adjusted": "no",
        "doctor_name": "",
        "customer_details": {
            "patient_id": "",
            "patient_name": "Avi Patel",
            "mobile": "",
            "aadhar_number": "",
            "patient_address": "",
            "patient_city": null,
            "gstn_number": "",
            "patient_zipcode": null,
            "profile_picture": "",
            "discount_percentage": 0,
            "email": "",
            "status": "active"
        },
        "chemist_details": {
            "id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
            "pharmacy_name": "Demo Pharmacy",
            "mobile": "8128937197",
            "pharmacist_digital_signature": "",
            "pharmacy_logo": "https://d3cgpvqmlaynvp.cloudfront.net/storage/chemists/kyc/noixjea3n4.jpg",
            "profile_picture": "https://d3cgpvqmlaynvp.cloudfront.net/storage/chemists/kyc/ic0qtzyda7.jpg"
        }
    }
}
{
    "status_code": "0",
    "status_message": "chemist_sales_return_id must be greater than 0",
    "datetime": "2024-12-06 11:24:24",
    "ng_version": "0.0.787",
    "data": null
}
{{apiUrl}}patient/orders/sales_return/view