Approve Prescription Image
Approve/Reject uploaded prescription image, this request will coming from open API via S2S call. Existing approval api, also connected to fulfillment service to approve & reject order.
Path
post
{host}/order/approve/:order_id
Request Parameters
Parameter | Value | Example | Mandatory |
---|---|---|---|
Authorization | Bearer Token | LSPr7x7sRGaewzwZE6IcuA | true |
order_id | Order unique identifier | 1723456 | true |
Example Request
curl -X GET \
'{host}/epharmacy/order/approve/1723456'\
Success Response Examples
{
"header": {
"server_prosess_time": "3.633313ms",
"code": 200
},
"data": {}
}
Error Response Examples
{
"header": {
"server_prosess_time": "3.633313ms",
"code": 400
},
"error":"invalid order id abcd"
}