Skip to main content

OTC Dynamic API

This API provides the dynamic details about drug SKUs. Dynamic details are those details which need to change instantly (like changes in price or offer on products). As it uses cached data, this operates quickly.

Min and Max quantity

StartFragment

In the API, look for quantity_info for min and max quantity.

Sample -

"quantity_info": {
"min": 1,
"max": 4,
"selling_quantity": 50
}


Path Parameters
  • otc_sku_id string required
Query Parameters
  • client string
    Example: app
  • locale string
    Example: en
Header Parameters
  • Content-Type string
    Example: application/json
  • X-Platform string
    Example: desktop-0.0.1
  • X-Access-Key string
    Example: 1mg_client_access_key
  • X-City string
    Example: Jamshedpur
Responses

OK

Response Headers
  • Date string
  • Content-Type string
  • Transfer-Encoding string
  • Connection string
  • Vary string
  • X-Request-ID string
  • VISITOR-ID string
  • X-VISITOR-ID string
  • Server string
  • Access-Control-Allow-Methods string
  • Access-Control-Allow-Headers string
  • Access-Control-Allow-Origin string
  • Content-Encoding string

Schema
  • object
Loading...