Checkout V3

To check availability of the items.

This API provides availability of medicines with alternatives. And calculates the total cart value.

Get the availability of medicines

POST {{apiUrl}}fulfillment/orders/checkout_v3

For the medicines which are out of stock, available alternative medicines will be provided.

In API request, You need to pass either provide patient_id or mobile & patient_name.

Request Body

Name
Type
Description

apikey*

String

Authentication Token

location_token*

String

Get token from Check Serviceability V3 API

patient_id*

String

Id to uniquely identify the patient for whom the order is placed.

if mobile and patient name is provided, then patient_id is optional.

mobile

String

Patient's mobile no

patient_name

String

Patient's name

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

zipcode*

String

Zipcode of the customer

find_alternative

Boolean

Flag to get item alternatives

show_cart_options

Boolean

To know alternate cart items options.

delivery_type

String

It can be either delivery ot pickup where,

"delivery" : Order will be delivered. "pickup" : Order will be of pick-up type.

Last updated

Was this helpful?