Branded to Generic
To get alternate products by unique medicine Id.
POST
{{apiUrl}}doctor/medicines/branded_to_generic
Get Alternate medicines with the best in terms of Expiry, Margin, and Price.
Request Body
Name
Type
Description
apikey*
String
Authentication Token
medicine_ids*
Stringified Array
Array of medicine_ids in the form data
[\"eGMwtMdst4OkfNrNoAFxRw\", \"77eruTI3h1JUg4RqaV20JQ\=="]
order_by
String
must be one of epm, mep, pem
epm: Expiry -> Price -> Margin
mep: Margin -> Expiry -> Price
pem: Price -> Expiry -> Margin
Last updated