Checkout V2
To check availability of the items.
Get the availability of medicines
POST
{{apiUrl}}fulfillment/orders/checkout_v2
For the medicines which are out of stock, available alternative medicines will be provided.
Request Body
apikey*
String
Authentication Token
patient_id*
String
Id to uniquely identify the patient for whom the order is placed
if mobile is provided, then patient_id is optional.
mobile
String
Patient's mobile no is optional if patient_id is provided, required otherwise.
patient_name
String
Patient's name is optional if patient_id is provided, required otherwise.
items*
String
Stringified Array of Items.
Items should contain at least 1 object.
MIN: 1 (medicines)
MAX: 20 (medicines)
Example:
latitude*
Number
Latitude of the customer
longitude*
Number
Longitude of the customer
distance
Number
Distance of fulfillment. radius of search area for search provided item
find_alternative
Boolean
Flag to get item alternatives
Last updated
Was this helpful?