Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order Delivered

This webhook is triggered when the order is delivered at the patient location.

{
   "id": "buctt+C5QzfVvqdIpKkYnQ==",
   "transaction_type": "sales",
   "transaction_nature": "delivered",
   "chemist_id": "9kVNNczng10TbflL7zZEDA==",
   "reference_number": 396,
   "payment_mode": "Cash",
   "payment_date": "2025-01-29 12:19:46",
   "delivery_type": "delivery",
   "order_number": "OOM6HJQ9BT",
   "partner_order_id": "1234",
   "bill_no": 396,
   "bill_date": "2025-01-29 12:26:51",
   "order_status": "completed",
   "draft_order_id": "imKLEWDEqB4IEolP16AK/w==",
   "draft_order_shipping_charge": 30,
   "reject_reason": "",
   "total": 1300,
   "amount": 1300,
   "order_by": "Owner",
   "patient_id": "rfojNNab+jNKqxDTYowQSQ==",
   "patient_name": "Manav Patel",
   "mobile": "7458787853",
   "billing_for": "Manav Patel",
   "billing_for_mobile": "7458787853",
   "doctor_name": "",
   "bill-pdf-url": "http://localhost/evital/invoice/T09NNkhKUTlCVA==/print/",
   "invoice_pdf":"https://d2ffmswuyj0h1d.cloudfront.net/storage/invoices/b2c_invoices/OGMDZPAD45.pdf",
   "direct_payment_url": "",
   "remark": "",
   "chemist_code": "C00ER",
   "delivery_person_name": "test driver",
   "delivery_person_mobile": "9876543210",
   "tracking_url": "http://localhost:4000/v1/fulfillment/apis/track/M3hyN0xmYWZySGtPalgzeThWeVlzUT09",
   "items": [
     {
       "price": 130,
       "directions": "0-0-0-0",
       "quantity": 100,
       "mrp": 130,
       "discount": 0,
       "batch": "ASDAS234",
       "expiry": "02/29",
       "gst": 139.29,
       "gstpercentage": 12,
       "amount": 1300,
       "size": 10,
       "medicine_name": "Dolobest MR 100mg/500mg/250mg Tablet",
       "pack_size": "10 Tablets",
       "dosage_type": "",
       "image": "https://d3cgpvqmlaynvp.cloudfront.net/storage/medicines/thumb/default.jpg",
       "medicine_id": "LXarW6vPNnrbm2bwTZmnOw==",
       "partner_medicine_id": "1234",
       "manufacturer_name": "TTK Healthcare Ltd",
       "hsn_code": "554645",
       "medicine_type": "drug",
       "packing_size": "10 tablets in 1 strip",
       "cess": 0,
       "cess_percentage": 0,
       "price_to_retailer": 75.63,
       "margin": 121.53,
       "base_price": 60.48435,
       "landing_price": 9.011088279625897,
       "location": "",
       "sale_discount": 0,
       "lock_discount": "no",
       "sell_in_loose": "yes",
       "loyalty_points": 0,
       "loyalty_points_percentage": 0,
       "batch_discount": 0,
       "returnable": "yes",
       "b2c_margin": 3,
       "loyalty_points_redeemed": 0,
       "stock_adjusted": "pending",
       "offer_id": 0,
       "item_category": "drug",
       "expiry_return": "2029-02-01",
       "gst_percentage": 12,
       "order_type": "sale",
       "reference_medicine_code": "I00014"
     }
    ],
      "order_custom_fields": {},
      "patient_custom_fields": {}
}

Last updated