OTC Static API
This API provides the static details about otc product SKU which means the details which is not frequently change and changes are not required instantly. This is very fast in nature because it takes data from cache.
Path Parameters
- otc_sku_id string required
Query Parameters
- client stringExample: app
- locale stringExample: en
Header Parameters
- X-Platform undefined[]
Possible values: [
android-13.2.0
,mobileweb-0.0.1
,ios-13.2.0
,desktop-0.0.1
]Example: desktop-0.0.1 - X-Access-Key string
Default value:
1mg_client_access_key
- X-City stringExample: Jamshedpur
Responses
- 200
- 400
- 404
OK
Response Headers
Date string
Content-Type string
Transfer-Encoding string
Connection string
Vary string
Server string
Pragma string
Cache-Control string
Access-Control-Expose-Headers string
Strict-Transport-Security string
Content-Encoding string
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"data": {
"available_languages": [
{
"selected": true,
"display_text": "English",
"id": "en",
"slug": "/otc/dolomec-relief-oil-otc297563"
}
],
"ratings_and_reviews": null,
"sku": {
"id": 297563,
"images": [
{
"thumbnail": "https://onemg.gumlet.io/l_watermark_346,w_120,h_120/a_ignore,w_120,h_120,c_fit,q_auto,f_auto/cropped/tpnuf3mlussx2wgt4rlu.jpg",
"low": "https://onemg.gumlet.io/l_watermark_346,w_180,h_180/a_ignore,w_180,h_180,c_fit,q_auto,f_auto/cropped/tpnuf3mlussx2wgt4rlu.jpg",
"medium": "https://onemg.gumlet.io/l_watermark_346,w_480,h_480/a_ignore,w_480,h_480,c_fit,q_auto,f_auto/cropped/tpnuf3mlussx2wgt4rlu.jpg",
"high": "https://onemg.gumlet.io/l_watermark_346/a_ignore,c_fit,q_auto,f_auto/cropped/tpnuf3mlussx2wgt4rlu.jpg",
"mediumhigh": "https://onemg.gumlet.io/l_watermark_346,w_480,h_480/a_ignore,w_480,h_480,c_fit,q_auto,f_auto/cropped/tpnuf3mlussx2wgt4rlu.jpg"
}
],
"manufacturer": {
"address": "501, Rafael Tower, Old Palasia, Indore – 452 001 INDIA",
"name": "McW Healthcare",
"id": 55772,
"slug": "/manufacturer/mcw-healthcare-55772",
"header": "Manufacturer details",
"manufacturer_header": "Manufacturer"
},
"importer": null,
"marketer": null,
"name": "Dolomec Relief Oil",
"slug": "/otc/dolomec-relief-oil-otc297563",
"description": null,
"label": "by McW Healthcare",
"overview": {
"social_cue": {
"icon": "https://onemg.gumlet.io/axb9qk0tzo79kbhy8ggq.png",
"display_text": "159 people viewed this recently"
}
},
"business_category": [
{
"level": "l1",
"name": null
},
{
"level": "l2",
"name": null
},
{
"level": "l3",
"name": null
}
],
"pack_form": "changed"
},
"trust_badges": [
{
"display_text": "100% genuine products",
"icon": "https://onemg.gumlet.io/rtdrfzuvznawdz0afdty.png"
},
{
"display_text": "Safe & secure payments",
"icon": "https://onemg.gumlet.io/b6jqnioh95y3q97xizln.png"
},
{
"display_text": "Contactless delivery",
"icon": "https://onemg.gumlet.io/pfjiry9fb6vnmxqo9p7s.png"
},
{
"display_text": "Fully sanitized facilities",
"icon": "https://onemg.gumlet.io/cn9iq68ozleghlgsrohq.png"
}
],
"footer_data": {
"header": "Making healthcare",
"sub_header": "Understandable, Accessible & Affordable",
"display_text": "Made with ❤ by Tata 1mg"
},
"editorial_policy": {
"header": "Want to know more",
"image_url": "https://onemg.gumlet.io/hpmev62q0ukad0pyv31g.png",
"slug": "/editorial-policy-processes",
"sub_header": "We provide you with authentic, trustworthy and revelant information",
"cta_text": "Read our editorial policy"
},
"report_error": {
"header": "Have issue with the content",
"image_url": "https://onemg.gumlet.io/image/upload/m6z8ittoliuyy1u7gxql.png",
"slug": "/otc/dolomec-relief-oil-otc297563/report-error",
"cta_text": "Report problem"
},
"meta_data": {
"title": "Dolomec Relief Oil: Buy changed of 60 ml Oil at best price in India | 1mg",
"meta_desc": "Order Dolomec Relief Oil:changed of 60 ml Oil online at best price in India. Know Dolomec Relief Oil price, specifications, benefits and other information only on 1mg.com",
"meta_keyword": "Dolomec Relief Oil, Dolomec Relief Oil usage, Dolomec Relief Oil benefits, Dolomec Relief Oil side effects, Dolomec Relief Oil reviews",
"heading_tag": "",
"image_alt_tag": "",
"image_title_tag": "",
"meta_tags": [
{
"name": "apple-itunes-app",
"content": "app-id=554578419, app-clip-bundle-id=com.aranoah.healthkart.1mg"
}
]
},
"schema": {
"product": {
"@context": "http://schema.org/",
"@type": "Product",
"sku": "Dolomec Relief Oil",
"name": "Dolomec Relief Oil",
"image": "https://onemg.gumlet.io/l_watermark_346,w_120,h_120/a_ignore,w_120,h_120,c_fit,q_auto,f_auto/ng0y8cs2ymilvtbiaegx.jpg",
"itemCondition": "NewCondition",
"brand": "Dolomec",
"manufacturer": {
"@type": "Organization",
"name": "McW Healthcare"
}
}
},
"content_details": {
"header": "Content details",
"display_text": "Last updated on 26 Aug 2022 | 01:45 PM (IST)"
}
},
"partial_complete": false,
"is_success": true,
"status_code": 200
}
Bad Request
Response Headers
Date string
Content-Type string
Content-Length integer
Connection string
Server string
Strict-Transport-Security string
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"is_success": false,
"status_code": 400,
"error": {
"message": "Invalid request",
"errors": [
{
"message": "Invalid request"
}
]
}
}
Not Found
Response Headers
Date string
Content-Type string
Transfer-Encoding string
Connection string
Vary string
Server string
Strict-Transport-Security string
Content-Encoding string
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"is_success": false,
"status_code": 404,
"error": {
"message": "Couldn't find Sku with 'id'=29756",
"errors": [
{
"message": "Couldn't find Sku with 'id'=29756"
}
]
}
}
Loading...