Order Return Save
POST
https://api.evitalrx.in/v1/b2b/return/save
Request Body
Name | Type | Description |
---|---|---|
bill_date* | date | Date of the bill. Format: YYYY-MM-DD |
buyer_chemist_id* | String | Id to uniquely identify the chemist for whom the order is placed |
payment_status* | Number | To choose payment mode of the order. 1: CASH 2: CREDIT 3: UPI 4: CHEQUE 5: PAYTM 6: CC/DC 7: RTGS/NEFT |
items* | Stringified Array | List of items with quantity (in pills). All the params are required shown below. Medicine Id and batch should have unique combination. i.e. [{"medicine_id":"TF7Wm49nceLV+NmoM6HJYw==","batch":"WER321","expiry":"2030-02-01","mrp":23.5,"price_to_retailer":15.85,"quantity":10,"free":0,"hf":0,"base_price":15.85,"discount_percentage":0,"scheme_amount":0,"gst_percentage":12,"cess_percentage":5}] |
apikey* | String | Authentication token |
bill_no | String | The bill number should match the bill number from sales in order to create sales return bill |
remark | String | Note for the Prescription |
delivery_note | String | Delivery notes if any |
doctor_id | String | Doctor ID |
wholesale_order_id | Number | The ID of the related wholesale order |
Last updated