Check Serviceability V3

To check if a location is serviceable

With this API you can check which location are serviceable and are allowed for placing the order either for pickup or delivery type order. We check real-time availability of the nearby pharmacy-stores whether they are online or not.

We provide 5 delivery-service primarily:

Delivery Service Type
Delivery Time
When to Choose Which Delivery Service ?

Quick

within 60 min

  • Ideal for Quick-Commerce

  • Unique Medicine SKU availability ranges from Small to Medium (may vary depending upon the tier of city)

Regular

within 2 hour

  • Ideal for Quick-Commerce

  • Unique Medicine SKU availability ranges from Medium to Large.

In Stock Same Day

within 8 hours

  • Ideal for Insurance-Provider & TPA

  • Unique Medicine SKU availability ranges from Medium to Large.

Same Day

within 24 hours

  • Ideal for Insurance-Provider & TPA

  • Unique Medicine SKU availability are Large.

PAN India

within 5-7 days vary upon distance

  • Ideal for General Use

  • Unique Medicine SKU availability are Large.

Things to know

  1. Since this API contains real-time availability of the pharmacy-store it is required to refresh the location-token periodically.

  • When to refresh the location_token

    • Refer to a threshold of 15 min limit.

    • Upon cart-screen loading.

    • Before Placing the order.

    • When patient location is updated or address is changed from address book, cart screen etc.

  1. When you can place the order ?

  • When you get serviceable as true

Get serviceability check

POST {{apiUrl}}fulfillment/orders/check_serviceability_v3arrow-up-right

Request Body

Name
Type
Description

apikey*

String

Authentication Token

latitude*

String

Latitude of the customer

longitude*

String

Longitude of the customer

zipcode*

String

Zipcode of the patient

service_type*

'quick' | 'regular' | 'in_stock_same_day' | 'same_day' | 'pan_india'

Stringified array of service types.

For eg.

delivery_type

'pickup' | 'delivery'

delivery (Default): Order will be delivered. pickup : Order will be of pick-up type.

full_address

String

Full address of the patient for eg. Office B, 3rd Floor, 4D Square Mall, below PVR Cinema, Motera, Ahmedabad, Gujarat 380005

Errors Explanation

  • no_pharmacy_found

    • Currently no pharmacy are available there to take the order or area is not serviceable at the moment.

  • no_pharmacy_found_due_to_off_hours

    • When pharmacies are there but they are offline or due to their store timing store is closed.

Last updated