Get list of reasons to reject the order.
Last updated 5 months ago
Was this helpful?
POST
apikey*
String
Authentication token
reason_source*
"pickup" | "delivery"
pass order is pickup or delivery.
{ "status_code": "1", "status_message": "Success", "datetime": "2023-03-21 17:18:14", "data": { "reasons": [ { "id": 1, "reason": "Medicine not available" }, { "id": 2, "reason": "Can't deliver in this area" }, { "id": 4, "reason": "Delivery person not available" }, { "id": 5, "reason": "Less order value" }, { "id": 6, "reason": "Store closed" }, { "id": 21, "reason": "Prescription not attached in this order" }, { "id": 10, "reason": "Can't modify MRP" }, { "id": 7, "reason": "Other" } ] } }
{ "status_code": "0", "status_message": "reason_source must be one of [pickup, delivery]", "datetime": "2023-03-21 17:19:21", "data": null }
{{apiUrl}}patient/orders/reject_reasons