> For the complete documentation index, see [llms.txt](https://doc.vapi.co/tr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.vapi.co/tr/en/tr-turkey-datasets-and-api-reference/medicines/medication-list.md).

# Medication List

### Endpoint: /products/:id

[API URL](/tr/en/getting-started/api-url.md)

### Request Method : <mark style="color:green;">GET</mark>

### Header Parameters

<table><thead><tr><th width="154">parameter</th><th width="108">type</th><th>definition</th></tr></thead><tbody><tr><td>Authorization</td><td>string</td><td>Bearer &#x3C;API Key><a data-mention href="#curl-istek-oernegi">#curl-istek-oernegi</a> <a data-mention href="/tr/en/getting-started/identity-verfication.md">Identity Verfication</a></td></tr></tbody></table>

### Request Parameter

<table><thead><tr><th width="153">parameter</th><th width="110">type</th><th width="327">definition</th><th>compulsory</th></tr></thead><tbody><tr><td>id</td><td>integer</td><td>The unique product ID assigned to the drug. This information can be retrieved from the id field in the /products endpoint.</td><td>no</td></tr><tr><td>page</td><td>integer</td><td>Page number <a data-mention href="/tr/en/getting-started/response-structure.md">Response Structure</a></td><td>no</td></tr><tr><td>per-page</td><td>integer</td><td>The number of records to return per page. Upper limit is 200. <a data-mention href="/tr/en/getting-started/response-structure.md">Response Structure</a></td><td>no</td></tr></tbody></table>

### Response Parameter

#### <mark style="color:green;">data</mark> [Response Structure](/tr/en/getting-started/response-structure.md)

<table><thead><tr><th width="232">parameter</th><th width="222">type</th><th>definition</th></tr></thead><tbody><tr><td>product</td><td>productList [ ]</td><td><a data-mention href="#productlist">#productlist</a></td></tr></tbody></table>

#### <mark style="color:green;">productList</mark>

<table><thead><tr><th width="156">parameter</th><th width="123">type</th><th>definition</th></tr></thead><tbody><tr><td>product</td><td>product </td><td><a data-mention href="#product">#product</a></td></tr><tr><td>drug</td><td>drug </td><td><a data-mention href="#drug">#drug</a></td></tr><tr><td>drugform</td><td>drug </td><td><a data-mention href="#drugform">#drugform</a></td></tr><tr><td>barcodes</td><td>barcodes </td><td><a data-mention href="#barcodes">#barcodes</a></td></tr><tr><td>published</td><td>boolean</td><td><mark style="color:green;"><strong>true</strong></mark> = Used when the product and its details are actively published.<br><mark style="color:red;"><strong>false</strong></mark> = Used when the product and its details are unpublished due to various reasons (company request, regulations, erroneous entry, etc.).</td></tr></tbody></table>

#### <mark style="color:green;">product</mark>

<table><thead><tr><th width="137">parameter</th><th width="105">type</th><th>definition</th></tr></thead><tbody><tr><td>id</td><td>integer</td><td>product unique id</td></tr><tr><td>name</td><td>string</td><td><p>Product name (constructed in the format: drug + drug form + product).</p><p></p><p><img src="https://content.gitbook.com/content/yoqXCLsgP4CqhklelIUV/blobs/EUH0b4O85R6hDLSJpl5t/image.png" alt="" data-size="original"></p><p> </p></td></tr></tbody></table>

#### <mark style="color:green;">drug</mark>

<table><thead><tr><th width="137">parameter</th><th width="105">type</th><th>definition</th></tr></thead><tbody><tr><td>id</td><td>integer</td><td>The ID of the drug associated with the product</td></tr><tr><td>name</td><td>string</td><td><p>the name of drug</p><p><br>For example:</p><p>"CALPOL Suspension 120 mg/5 ml 150 ml bottle"</p><p>for</p><p><mark style="color:red;">drug: CALPOL</mark></p><p></p><p><img src="https://content.gitbook.com/content/yoqXCLsgP4CqhklelIUV/blobs/EUH0b4O85R6hDLSJpl5t/image.png" alt="" data-size="original"></p><p> </p></td></tr></tbody></table>

#### <mark style="color:green;">drugform</mark>

<table><thead><tr><th width="131">parameter</th><th width="125">type</th><th>definition</th></tr></thead><tbody><tr><td>id</td><td>integer</td><td>id of the drugform of the product</td></tr><tr><td>name</td><td>string</td><td><p>the name of drug form</p><p></p><p>For example:</p><p>"CALPOL Suspension 120 mg/5 ml 150 ml bottle"</p><p>for</p><p><mark style="color:red;">drugform: Süspansiyon 120 mg/5 ml</mark><br><img src="https://content.gitbook.com/content/yoqXCLsgP4CqhklelIUV/blobs/lwtR1K2s6hKAIyPmVGdE/image.png" alt=""></p></td></tr></tbody></table>

#### <mark style="color:green;">barcodes</mark>

<table><thead><tr><th width="134">parameter</th><th width="123">type</th><th>definition</th></tr></thead><tbody><tr><td>barcode</td><td>integer</td><td>The barcode of the product. It can be 12 or 13 digits.</td></tr><tr><td>skrsStatus</td><td>string</td><td><p>The SKRS status associated with the barcode. It describes the barcode defined in the Health Coding Reference Server (SKRS) and its current status. The returned value will be active, passive, or null (unlisted).</p><p>A drug's barcode may change under certain conditions. For this reason, a single drug can have multiple barcodes (the same drug may exist in the market under different barcodes), and each barcode may have a different SKRS status.</p></td></tr></tbody></table>

### <mark style="color:blue;">curl</mark> Request example

```powershell
curl --location 'https://api.vapi.co/products' \
--header 'Authorization: Bearer <API Anahtarı>'
```

```
curl --location 'https://api.vapi.co/products/3195' \
--header 'Authorization: Bearer <API Anahtarı>'
```

### <mark style="color:blue;">postman</mark> Request example

**List Query**

<figure><img src="https://content.gitbook.com/content/yoqXCLsgP4CqhklelIUV/blobs/LnQFAjwlxo2QcZMvvbri/Screen%20Shot%202023-12-11%20at%2011.21.44.png" alt=""><figcaption></figcaption></figure>

**Single Query**

<figure><img src="https://content.gitbook.com/content/yoqXCLsgP4CqhklelIUV/blobs/tazSKK9ilUQq9EdJWUUt/Screen%20Shot%202023-12-12%20at%2012.13.34.png" alt=""><figcaption></figcaption></figure>

### Response example

**List Result**

```json
{
    "data": [
        {
            "product": {
                "id": 587,
                "name": "VOLTAREN EMULGEL Jel %1 50 g'lık tüp"
            },
            "drug": {
                "id": 14411,
                "name": "VOLTAREN EMULGEL"
            },
            "drugform": {
                "id": 5757,
                "name": "Jel %1"
            },
            "barcodes": [
                {
                    "barcode": "8681291340079",
                    "skrsStatus": "Aktif"
                },
                {
                    "barcode": "8699504340037",
                    "skrsStatus": "Pasif"
                }
            ],
            "published": true
        },
        {
            "product": {
                "id": 591,
                "name": "VECTAVİR Krem %1 2 g'lık tüp"
            },
            "drug": {
                "id": 3432,
                "name": "VECTAVİR"
            },
            "drugform": {
                "id": 5623,
                "name": "Krem %1"
            },
            "barcodes": [
                {
                    "barcode": "8692255000915",
                    "skrsStatus": "Pasif"
                },
                {
                    "barcode": "8699504350203",
                    "skrsStatus": "Pasif"
                },
                {
                    "barcode": "8692255002186",
                    "skrsStatus": "Aktif"
                }
            ],
            "published": true
        },
        ...
    ],
    "_links": {
        "self": {
            "href": "https://api.vapi.co/products?page=1&per-page=200"
        },
        "first": {
            "href": "https://api.vapi.co/products?page=1&per-page=200"
        },
        "last": {
            "href": "https://api.vapi.co/products?page=55&per-page=200"
        },
        "next": {
            "href": "https://api.vapi.co/products?page=2&per-page=200"
        }
    },
    "_meta": {
        "totalCount": 27018,
        "pageCount": 55,
        "currentPage": 1,
        "perPage": 200
    },
    "success": true
}
```

**Single Result**

```json
{
    "data": {
        "product": {
            "id": 3195,
            "name": "ASPİRİN Tablet 100 mg (Çocuklar için) 20 tabletlik ambalaj"
        },
        "drug": {
            "id": 276,
            "name": "ASPİRİN"
        },
        "drugform": {
            "id": 466,
            "name": "Tablet 100 mg (Çocuklar için)"
        },
        "barcodes": [
            {
                "barcode": "8699546010028",
                "skrsStatus": "Aktif"
            }
        ],
        "published": true
    },
    "success": true
}
```

{% content-ref url="/pages/kQ1b7c1YcYmvZPRdDGnc" %}
[Drug Search](/tr/en/tr-turkey-datasets-and-api-reference/medicines/drug-search.md)
{% endcontent-ref %}
