Locations
Get Retail Prices
Retrieve the panel and single-biomarker prices one location charges walk-in customers
GET
/
api
/
v1
/
locations
/
{id}
/
retail-prices
curl --request GET \
--url https://anivahealth.com/api/v1/locations/008ef220-6581-497d-a62c-7252a9149a67/retail-prices \
--header 'x-api-key: YOUR_API_KEY'
{
"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 }]
}
Retrieve the price of each panel and single biomarker a location sells to walk-in customers. The
url of a location.retail_prices.updated webhook event points here.
Requires the retail_prices_view scope. The locations_view scope does not include it.
Request
Path parameters
string
required
Location ID (UUID).
Response
On success, the API returns200 OK with the retail prices object.
string
required
Location ID (UUID).
string
required
Currency of every price. Always
EUR.array
required
The panels a walk-in customer can buy at the location, sorted by name. Filled for pharmacies; an
empty array for every other location.
Show panel
Show panel
string
required
Panel ID (UUID).
string
required
Display name of the panel.
integer
What the location charges for the panel, VAT included, in euro cents.
null when the
location has published no price.array
required
The biomarkers the panel always measures, sorted by name. Each entry has an integer
id and
a name.array
required
The single biomarkers the location sells on their own, sorted by name. Only biomarkers with a
published price appear. Filled for pharmacies; an empty array for every other location.
Error responses
| Status | Description |
|---|---|
400 | The id is not a UUID. |
401 | The API key is missing or invalid. |
403 | Your API key does not have the retail_prices_view scope. |
404 | The location does not exist, is inactive, or is outside your access. |
500 | Internal server error. |
curl --request GET \
--url https://anivahealth.com/api/v1/locations/008ef220-6581-497d-a62c-7252a9149a67/retail-prices \
--header 'x-api-key: YOUR_API_KEY'
{
"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 }]
}
⌘I
curl --request GET \
--url https://anivahealth.com/api/v1/locations/008ef220-6581-497d-a62c-7252a9149a67/retail-prices \
--header 'x-api-key: YOUR_API_KEY'
{
"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 }]
}