> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anivahealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Perakende fiyatlarını getir

> Tek bir konumun randevusuz müşterilere uyguladığı panel ve tekil biyobelirteç fiyatlarını getir

Bir konumun randevusuz müşterilere sattığı her panel ve tekil biyobelirtecin fiyatını getir. Bir
`location.retail_prices.updated` [webhook](https://docs.anivahealth.com/tr/concepts/webhooks.md) olayının `url` değeri burayı işaret eder.

`retail_prices_view` kapsamını gerektirir. `locations_view` kapsamı bunu içermez.

## İstek

### Yol parametreleri

**id** `string` *required*

Konum kimliği (UUID).

## Yanıt

Başarılı olduğunda API, perakende fiyatları nesnesiyle birlikte `200 OK` döndürür.

**location\_id** `string` *required*

Konum kimliği (UUID).

**currency** `string` *required*

Tüm fiyatların para birimi. Her zaman `EUR`.

**panels** `array` *required*

Randevusuz bir müşterinin konumda satın alabileceği paneller, ada göre sıralı. Eczaneler için
dolu; diğer tüm konumlar için boş bir dizi.

**panel**

**id** `string` *required*

Panel kimliği (UUID).

**name** `string` *required*

Panelin görünen adı.

**gross\_price\_cents** `integer`

Konumun panel için aldığı tutar, KDV dahil, euro sent cinsinden. Konum fiyat yayınlamadıysa
`null`.

**biomarkers** `array` *required*

Panelin her zaman ölçtüğü biyobelirteçler, ada göre sıralı. Her öğe bir tam sayı `id` ve
bir `name` içerir.

**biomarkers** `array` *required*

Konumun tek başına sattığı tekil biyobelirteçler, ada göre sıralı. Yalnızca yayınlanmış fiyatı
olan biyobelirteçler görünür. Eczaneler için dolu; diğer tüm konumlar için boş bir dizi.

**biyobelirteç**

**id** `integer` *required*

Biyobelirteç kimliği.

**name** `string` *required*

Biyobelirtecin görünen adı.

**gross\_price\_cents** `integer` *required*

Konumun biyobelirteç için aldığı tutar, KDV dahil, euro sent cinsinden.

## Hata yanıtları

| Durum | Açıklama |
| - | - |
| `400` | `id` bir UUID değil. |
| `401` | API anahtarı eksik veya geçersiz. |
| `403` | API anahtarın `retail_prices_view` kapsamına sahip değil. |
| `404` | Konum mevcut değil, etkin değil veya erişimin dışında. |
| `500` | Dahili sunucu hatası. |

```bash cURL theme={null}
curl --request GET \
  --url https://anivahealth.com/api/v1/locations/008ef220-6581-497d-a62c-7252a9149a67/retail-prices \
  --header 'x-api-key: YOUR_API_KEY'
```

```json 200 theme={null}
{
  "location_id": "008ef220-6581-497d-a62c-7252a9149a67",
  "currency": "EUR",
  "panels": [
    {
      "id": "777fa4a6-42a5-4704-90f4-7dc90b46eb98",
      "name": "Blood Sugar Check",
      "gross_price_cents": null,
      "biomarkers": [{ "id": 103, "name": "Hemoglobin A1c (HbA1c)" }]
    },
    {
      "id": "985b451a-80e7-4fc2-b7f9-fbf11d82f84f",
      "name": "Cholesterol Check",
      "gross_price_cents": 2990,
      "biomarkers": [
        { "id": 15, "name": "Cholesterol, total" },
        { "id": 17, "name": "HDL cholesterol" },
        { "id": 18, "name": "LDL cholesterol" },
        { "id": 19, "name": "Triglycerides" }
      ]
    }
  ],
  "biomarkers": [{ "id": 194, "name": "Anti-Müllerian Hormone (AMH)", "gross_price_cents": 4990 }]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.