📦Send Order Request
This API is used to send a medication request from a client to the DrugNet portal.
Last updated
This API is used to send a medication request from a client to the DrugNet portal.
Last updated
Endpoint: POST /send_request_web
POST
/send_request_web
Send a medication request from a client to the DrugNet portal..
Name | Type | Description |
---|---|---|
Take a look at how you might call this method using our official libraries, or via curl
:
In case of errors, the API will return a JSON object with a
success
field indicating whether the request was successful, and a corresponding error message in themessage
field.
client_id*
integer
The ID of the client submitting the request
prescription
String
The prescription or reason for the request.
order_items
JSON array
An array of objects specifying the items in the order. Each object should have name
(string) and quantity
(integer) properties.
insurance
String
Insurance company
insurance_card
String
The insurance card id
recipient
String
Recipient phone number
location
String
Location to deliver drugs
file
file
The file to be uploaded, representing additional information or images related to the request.