GET/api/v1/s2s/partners/kpis/pharmacies
List per-pharmacy KPIs of the partner
Published Partner endpoint from the stable OpenAPI 1.11.2 contract.
Overview
Use this endpoint only with a Partner API key. Code samples use placeholders and the public sandbox URL.
- Method
- GET
- Endpoint
- /api/v1/s2s/partners/kpis/pharmacies
- Authentication
- X-API-Key
Request
Parameters
- X-Correlation-IDstringheader
- Optional opaque request correlation ID for tracing API calls across systems. Billing audit paths persist only UUIDv4-shaped values and drop free-form values.
- Example: 33333333-3333-4333-8333-333333333333
- searchstringquery
- Case-insensitive contains match on consumer name or slug (page mode only).
- Example: apotheke
- statusstringquery
- Derived status filter (page mode only). Visibility checks deactivatedAt and the tenant admission state, not isActive: a visible consumer with isActive false counts in pharmacies.total but is neither ACTIVE nor PENDING (its derived status is OFFBOARDED) and is not matched by this filter. For an unlinked control, visibility also requires isActive; its offboarded pharmacies appear only in pharmacies.offboarded of the overview.
- Example: ACTIVE
- pageintegerquery
- Page number (page mode only).
- Example: 1
- pageSizeintegerquery
- Page size, 1 to 100 (page mode only).
- Example: 25
- consumerIdsstringquery
- Comma-separated consumer UUIDs (1 to 100, no duplicates), typically consumerId values from listPartnerPharmacies. Cannot be combined with search or status (400 INVALID_KPI_QUERY). Any id outside the partner scope answers 404 without data.
- Example: 00000000-0000-4000-8000-000000000001
Contract
The versioned OpenAPI contract is the authoritative source for parameters, request bodies, and response schemas.
Version
1.11.2
Expected response
200 OK