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

Order Accepted

This Webhook is triggered when Order is Accepted by the pharmacy store.

Response Parameter Explanation

  • id = Child Order ID (Split Order ID)

  • transaction_nature = Represent the Order Current State.

  • delivery_type = Order is of pickup or delivery Type.

  • partner_order_id = Reference Order ID of Integration Client (requestedId provided in Place-Order API).

  • total = it is the summation of All (item Price * (item quantity / item size)). It is the price including item discount.

  • amount = It is the summation of All (item MRP * (item quantity / item size)). It is the price without including the discount.

  • draft_order_id = Parent Order ID .

  • draft_order_shipping_charge = Total Shipping Charge.

 {
  "id": "buctt+C5QzfVvqdIpKkYnQ==",
  "transaction_type": "sales",
  "transaction_nature": "accept",
  "chemist_id": "9kVNNczng10TbflL7zZEDA==",
  "reference_number": 0,
  "payment_mode": "Cash",
  "payment_date": "2025-01-29 12:19:46",
  "delivery_type": "delivery",
  "order_number": "OOM6HJQ9BT",
  "partner_order_id": "1234",
  "bill_no": 0,
  "bill_date": "2025-01-29 12:19:46",
  "order_status": "accepted",
  "reject_reason": "",
  "total": 1300,
  "amount": 1300,
  "order_by": "",
  "draft_order_id": "y1sw0N315wy4+UDhhT5FjA==",
  "draft_order_shipping_charge": 30,
  "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/",
  "direct_payment_url": "",
  "remark": "",
  "chemist_code": "C00ER",
  "delivery_person_name": "",
  "delivery_person_mobile": "",
  "tracking_url": "",
  "items": [
    {
      "price": 130,
      "directions": "0-0-0-0",
      "quantity": 100,
      "mrp": 130,
      "discount": 0,
      "batch": "",
      "expiry": "01/00",
      "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": "",
      "medicine_type": "drug",
      "packing_size": "10 tablets in 1 strip",
      "cess": 0,
      "cess_percentage": 0,
      "price_to_retailer": 0,
      "margin": 0,
      "base_price": 0,
      "landing_price": 0,
      "location": "",
      "sale_discount": 0,
      "lock_discount": "no",
      "sell_in_loose": "yes",
      "loyalty_points": 0,
      "loyalty_points_percentage": 0,
      "batch_discount": null,
      "returnable": "yes",
      "b2c_margin": 3,
      "loyalty_points_redeemed": 0,
      "stock_adjusted": "pending",
      "offer_id": 0,
      "item_category": "drug",
      "expiry_return": "1900-01-01",
      "gst_percentage": 12,
      "order_type": "sale",
      "reference_medicine_code": "I00014"
    }
  ],
  "order_custom_fields": {},
  "patient_custom_fields": {}
}

Last updated