Track Merchant Order
Track Merchant Order Details by sending merchant_order_id in request params merchant_order_id refers to job_id received in creation of dio cart for merchants
Path Parameters
- merchant_name string required
The name of the merchant
Example: test_merchant - merchant_order_id string required
merchant_order_id is set to job_id for DIO merchant flow
Example: 13175
Header Parameters
- X-Access-Key string required
The public access key
Example: 1mg_public_access_key - Authorization string required
A JWT authorization token
Example: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTIzNDU2Nzg5LCJuYW1lIjoiSm9zZXBoIn0.OpOSSw7e485LOP5PrzScxHb7SR6sAOMRckfFwi4rp7o
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"data": {
"result": {
"prescriptions": [
{
"patient_id": "8c08c23b-8bce-4af8-b41b-06b97ee54440",
"url": "https://s3.ap-south-1.amazonaws.com/1mg-auto-resize-image/pharmacy-production-rxs/c1aa6343-30a9-4024-947a-7d2af5e9c007.pdf",
"id": 34443098,
"prescription_date": 1703289600000,
"status": "Completed"
}
],
"grouped_orders": [
{
"order_status": {
"subtitle": "As per Your Request",
"status_id": 99,
"title": "Order Cancelled"
},
"status_changed": true,
"order_id": "PO10824235590665",
"eta": {
"eta_to": 0,
"eta_from": 0
},
"created": 1713421959,
"shipment_detail": {
"delivery_partner_name": null
},
"is_cashless_order": false,
"updated": 1713422085,
"skus": [
{
"mrp": 155,
"name": "A to Z NS+ Tablet with Lycopene, Multivitamins & Multiminerals",
"prescription_status": null,
"sku_id": "747985",
"prescription_verified": false,
"offered_price": 141,
"prescription_required": false,
"pack_size_label": "strip of 15 tablets",
"sku_type": "otc",
"normalized_quantity": 1
},
{
"mrp": 275.11,
"name": "Allegra 180mg Tablet",
"prescription_status": null,
"sku_id": "9187",
"prescription_verified": false,
"offered_price": 253,
"prescription_required": false,
"pack_size_label": "strip of 10 tablets",
"sku_type": "allopathy",
"normalized_quantity": 1
},
{
"mrp": 129,
"name": "Ascoril LS Syrup",
"prescription_status": null,
"sku_id": "63412",
"prescription_verified": false,
"offered_price": 128,
"prescription_required": false,
"pack_size_label": "bottle of 100 ml Syrup",
"sku_type": "allopathy",
"normalized_quantity": 1
},
{
"mrp": 131.93,
"name": "Azee 500 Tablet",
"prescription_status": null,
"sku_id": "324155",
"prescription_verified": false,
"offered_price": 125,
"prescription_required": false,
"pack_size_label": "strip of 5 tablets",
"sku_type": "allopathy",
"normalized_quantity": 1
},
{
"mrp": 165,
"name": "PAN 40 Tablet",
"prescription_status": null,
"sku_id": "325250",
"prescription_verified": false,
"offered_price": 160,
"prescription_required": false,
"pack_size_label": "strip of 15 tablets",
"sku_type": "allopathy",
"normalized_quantity": 1
}
],
"invoice": {
"shipping": null,
"order": null
},
"payment_summary": {
"mode": "COD",
"online_refund_due": 0,
"total_payment": 0,
"shipping_charges": 0,
"order_mrp": 783.36,
"online_collected": 0,
"current_mrp": 856.04,
"coupon_discount": 26.64,
"amount_to_be_paid": 783.36,
"amount_collected": 0,
"additional_charges": [],
"amount_payable": 783.36,
"online_pending_amount": 0,
"cashback_earned": 0,
"total_refunded_amount": 0,
"payments": [],
"vas": [
{
"display_text": "Green packaging charge",
"group_name": "Green packaging charge",
"id": "661fec981cfde5ec5d8fe120",
"amount": 3
},
{
"display_text": "Rapid Delivery Fee",
"group_name": "Rapid Delivery Fee",
"id": "65f0680409b4a9d16dc86515",
"amount": 0
}
],
"allow_payment_retry": false,
"online_refund_initiated": 0,
"discounted_mrp": 807,
"cart_mrp": 856.04,
"total_refund_due": 0
},
"invoice_data": {}
}
],
"user": {
"contact_number": "8465944178",
"username": "11145170-e165-4638-bdef-6aaa3632b385",
"email": "[email protected]"
},
"group_order_id": "PO10824235590665",
"delivery_address": {
"locality": "",
"longitude": 77.74529,
"locality2": null,
"city": "Bangalore",
"address_type": "home",
"contact_number": "9611002324",
"street2": "9611002324",
"street1": "Mathupitha shree 2nd cross ediga road varthur bangalore 560087, Varthur, Govt High school Bengaluru, Karnataka 560103, India",
"state": "Karnataka",
"country": "IN",
"name": "Harish Reddy G",
"latitude": 12.94416,
"pincode": "560103",
"landmark": ""
},
"merchant_order_id": "2489174",
"source": "clove_dental"
}
},
"is_success": true,
"status_code": 200
}
{
"data": {
"result": {
"prescriptions": [
{
"patient_id": "8c08c23b-8bce-4af8-b41b-06b97ee54440",
"url": "https://s3.ap-south-1.amazonaws.com/1mg-auto-resize-image/pharmacy-production-rxs/c1aa6343-30a9-4024-947a-7d2af5e9c007.pdf",
"id": 34443098,
"prescription_date": 1703289600000,
"status": "Completed"
}
],
"grouped_orders": [
{
"order_status": {
"subtitle": "As per Your Request",
"status_id": 99,
"title": "Order Cancelled"
},
"status_changed": true,
"order_id": "PO10824235590665",
"eta": {
"eta_to": 0,
"eta_from": 0
},
"created": 1713421959,
"shipment_detail": {
"delivery_partner_name": null
},
"is_cashless_order": false,
"updated": 1713422085,
"skus": [
{
"mrp": 155,
"name": "A to Z NS+ Tablet with Lycopene, Multivitamins & Multiminerals",
"prescription_status": null,
"sku_id": "747985",
"prescription_verified": false,
"offered_price": 141,
"prescription_required": false,
"pack_size_label": "strip of 15 tablets",
"sku_type": "otc",
"normalized_quantity": 1
},
{
"mrp": 275.11,
"name": "Allegra 180mg Tablet",
"prescription_status": null,
"sku_id": "9187",
"prescription_verified": false,
"offered_price": 253,
"prescription_required": false,
"pack_size_label": "strip of 10 tablets",
"sku_type": "allopathy",
"normalized_quantity": 1
},
{
"mrp": 129,
"name": "Ascoril LS Syrup",
"prescription_status": null,
"sku_id": "63412",
"prescription_verified": false,
"offered_price": 128,
"prescription_required": false,
"pack_size_label": "bottle of 100 ml Syrup",
"sku_type": "allopathy",
"normalized_quantity": 1
},
{
"mrp": 131.93,
"name": "Azee 500 Tablet",
"prescription_status": null,
"sku_id": "324155",
"prescription_verified": false,
"offered_price": 125,
"prescription_required": false,
"pack_size_label": "strip of 5 tablets",
"sku_type": "allopathy",
"normalized_quantity": 1
},
{
"mrp": 165,
"name": "PAN 40 Tablet",
"prescription_status": null,
"sku_id": "325250",
"prescription_verified": false,
"offered_price": 160,
"prescription_required": false,
"pack_size_label": "strip of 15 tablets",
"sku_type": "allopathy",
"normalized_quantity": 1
}
],
"invoice": {
"shipping": null,
"order": null
},
"payment_summary": {
"mode": "COD",
"online_refund_due": 0,
"total_payment": 0,
"shipping_charges": 0,
"order_mrp": 783.36,
"online_collected": 0,
"current_mrp": 856.04,
"coupon_discount": 26.64,
"amount_to_be_paid": 783.36,
"amount_collected": 0,
"additional_charges": [],
"amount_payable": 783.36,
"online_pending_amount": 0,
"cashback_earned": 0,
"total_refunded_amount": 0,
"payments": [],
"vas": [
{
"display_text": "Green packaging charge",
"group_name": "Green packaging charge",
"id": "661fec981cfde5ec5d8fe120",
"amount": 3
},
{
"display_text": "Rapid Delivery Fee",
"group_name": "Rapid Delivery Fee",
"id": "65f0680409b4a9d16dc86515",
"amount": 0
}
],
"allow_payment_retry": false,
"online_refund_initiated": 0,
"discounted_mrp": 807,
"cart_mrp": 856.04,
"total_refund_due": 0
},
"invoice_data": {}
}
],
"user": {
"contact_number": "8465944178",
"username": "11145170-e165-4638-bdef-6aaa3632b385",
"email": "[email protected]"
},
"group_order_id": "PO10824235590665",
"delivery_address": {
"locality": "",
"longitude": 77.74529,
"locality2": null,
"city": "Bangalore",
"address_type": "home",
"contact_number": "9611002324",
"street2": "9611002324",
"street1": "Mathupitha shree 2nd cross ediga road varthur bangalore 560087, Varthur, Govt High school Bengaluru, Karnataka 560103, India",
"state": "Karnataka",
"country": "IN",
"name": "Harish Reddy G",
"latitude": 12.94416,
"pincode": "560103",
"landmark": ""
},
"merchant_order_id": "2489174",
"source": "clove_dental"
}
},
"is_success": true,
"status_code": 200
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"is_success": false,
"status_code": 400,
"error": {
"message": "Payload is missing {key_name}, {internal_error_code}"
}
}
Loading...