# İleri Tarihli Fiyat Listesi

### Uç-nokta: /future-prices/:id

[API URL](/tr/api-klavuzu/api-url.md)

### İstek Metodu: <mark style="color:green;">GET</mark>

### Header Parametreleri

<table><thead><tr><th width="154">parametre</th><th width="138">tipi</th><th>açıklama</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="/pages/zRc6fGV2hPXt2r6jcjmm">/pages/zRc6fGV2hPXt2r6jcjmm</a></td></tr></tbody></table>

### İstek Parametreleri

<table><thead><tr><th width="153">parametre</th><th width="140">tipi</th><th width="361">açıklama</th><th>zorunlu</th></tr></thead><tbody><tr><td>id</td><td>integer</td><td>İlaca ait atanmış olan tekil ürün id bilgisi. Bu bilgiye /products metodunda bulunan id alanından alınabilir.</td><td><strong>hayır</strong></td></tr><tr><td>page</td><td>integer</td><td>Safa numarası <a data-mention href="/pages/LCWrIEr2Oa1wcVJ3MAsR">/pages/LCWrIEr2Oa1wcVJ3MAsR</a></td><td>hayır</td></tr><tr><td>per-page</td><td>integer</td><td>Bir sayfada bulunması istenen kayıt sayısı. Üst limit 500. </td><td>hayır</td></tr></tbody></table>

### Cevap Parametreleri

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

Cevaplar **data** zarfı içinde aşağıdaki parametreleri içeriyor

<table><thead><tr><th width="208">parametre</th><th width="222">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>product</td><td>product </td><td><a data-mention href="#product">#product</a></td></tr><tr><td>price</td><td>price </td><td><a data-mention href="#price">#price</a></td></tr></tbody></table>

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

<table><thead><tr><th width="137">parametre</th><th width="105">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>id</td><td>integer</td><td>ürün tekil id'si</td></tr><tr><td>name</td><td>string</td><td><p>ürün ismi (drug + drugform + product şeklinde oluşturulmaktadır).</p><p></p><p><img src="/files/aEWWuFG9nyLGbhsCXD7s" alt="" data-size="original"></p><p> </p></td></tr></tbody></table>

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

<table><thead><tr><th width="221">parametre</th><th width="222">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>retail</td><td>date</td><td>KDV dahil perakende satış fiyatı</td></tr><tr><td>factory</td><td>integer</td><td>üretici firmanın, ecza depolarına satış yaptığı fiyat (KDV hariç)</td></tr><tr><td>storage</td><td>integer</td><td>ecza depolarının hastanelere veya eczanelere satış yaptığı fiyat (KDV hariç)</td></tr><tr><td>pharmacy</td><td>integer</td><td>KDV hariç eczane satış fiyatı</td></tr><tr><td>currencyCode</td><td>integer</td><td>fiyatın döviz tipi. <br>Dönen cevap; TRY, USD, EUR olabilir</td></tr><tr><td>effectiveDate</td><td>date</td><td>ilacın fiyat bilgisinin geçerli olduğu tarih. <br><br>İlaçlar 1'den fazla fiyata sahip olabilirler. Fiyatları güncellendikçe, yeni fiyatlar geçerli olma tarihleriyle birlikte (effectiveDate) kaydedilir. </td></tr></tbody></table>

### <mark style="color:blue;">curl</mark> İstek Örneği

```powershell
curl --location 'https://api.vapi.co/future-prices' \
--header 'Authorization: Bearer <API KEY>' \
```

```
curl --location 'https://api.vapi.co/future-prices/31177' \
--header 'Authorization: Bearer <API KEY>' \
```

### <mark style="color:blue;">postman</mark> İstek Örneği

### Cevap örneği

**Liste Sonucu**

```json
{
    "data": [
        {
            "product": {
                "id": 147,
                "name": "DELODAY Şurup 0.5 mg/ml 150 ml'lik şişe"
            },
            "price": {
                "retail": 21.29,
                "factory": 14.17,
                "storage": 15.4,
                "pharmacy": 19.71,
                "currencyCode": "TRY",
                "effectiveDate": "2022-12-20"
            }
        },
        {
            "product": {
                "id": 802,
                "name": "MABTHERA İV İnf. İçin Konsantre Çözelti İçeren Flakon 100 mg/10 ml 2x10 ml'lik flakon"
            },
            "price": {
                "retail": 3537.05,
                "factory": 2797.61,
                "storage": 2861.16,
                "pharmacy": 3275.05,
                "currencyCode": "TRY",
                "effectiveDate": "2022-12-20"
            }
        },
        ...
    ],
    "_links": {
        "self": {
            "href": "https://api.vapi.co/future-prices?page=1&per-page=500"
        },
        "first": {
            "href": "https://api.vapi.co/future-prices?page=1&per-page=500"
        },
        "last": {
            "href": "https://api.vapi.co/future-prices?page=7&per-page=500"
        },
        "next": {
            "href": "https://api.vapi.co/future-prices?page=2&per-page=500"
        }
    },
    "_meta": {
        "totalCount": 3372,
        "pageCount": 7,
        "currentPage": 1,
        "perPage": 500
    },
    "success": true
}
```

**Tekil Sonuç**

```json
{
    "data": {
        "product": {
            "id": 31177,
            "name": "ARGİVİT FOCUS Takviye Edici Gıda 30 tabletlik ambalaj"
        },
        "price": {
            "retail": 540,
            "factory": 408.76,
            "storage": 445.54,
            "pharmacy": null,
            "currencyCode": "TRY",
            "effectiveDate": "2024-02-01"
        }
    },
    "success": true
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.vapi.co/tr/api-klavuzu/ilaclar/fiyat/ileri-tarihli-fiyat-listesi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
