> ## 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.

# Consumentenprijzen ophalen

> De prijzen voor panels en losse biomarkers ophalen die één locatie aan inloopklanten rekent

Haal de prijs op van elk panel en elke losse biomarker die een locatie verkoopt aan inloopklanten. De
`url` van een `location.retail_prices.updated`-[webhook](https://docs.anivahealth.com/nl/concepts/webhooks.md)-event verwijst hiernaar.

Vereist de scope `retail_prices_view`. De scope `locations_view` bevat deze niet.

## Verzoek

### Padparameters

**id** `string` *required*

Locatie-ID (UUID).

## Respons

Bij succes geeft de API `200 OK` terug met het object met retailprijzen.

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

Locatie-ID (UUID).

**currency** `string` *required*

Valuta van elke prijs. Altijd `EUR`.

**panels** `array` *required*

De panels die een inloopklant bij de locatie kan kopen, gesorteerd op naam. Gevuld voor apotheken; een
lege array voor elke andere locatie.

**panel**

**id** `string` *required*

Panel-ID (UUID).

**name** `string` *required*

Weergavenaam van het panel.

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

Wat de locatie voor het panel rekent, inclusief btw, in eurocenten. `null` als de
locatie geen prijs heeft gepubliceerd.

**biomarkers** `array` *required*

De biomarkers die het panel altijd meet, gesorteerd op naam. Elk item heeft een integer `id` en
een `name`.

**biomarkers** `array` *required*

De losse biomarkers die de locatie afzonderlijk verkoopt, gesorteerd op naam. Alleen biomarkers met een
gepubliceerde prijs worden getoond. Gevuld voor apotheken; een lege array voor elke andere locatie.

**biomarker**

**id** `integer` *required*

Biomarker-ID.

**name** `string` *required*

Weergavenaam van de biomarker.

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

Wat de locatie voor de biomarker rekent, inclusief btw, in eurocenten.

## Foutresponsen

| Status | Beschrijving |
| - | - |
| `400` | De `id` is geen UUID. |
| `401` | De API-sleutel ontbreekt of is ongeldig. |
| `403` | Je API-sleutel heeft niet de scope `retail_prices_view`. |
| `404` | De locatie bestaat niet, is inactief of valt buiten je toegang. |
| `500` | Interne serverfout. |

```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.