---
search:
  tags:
    - Suppliers
    - GET
seo:
  description: >-
    Any signed in user. Returns one supplier with its contact details and…
    Reference for the GET /api/v1/suppliers/{supplierId} endpoint in the
    PharmaFlow API.
sidebar:
  label: Read a supplier
  badge: GET
title: Read a supplier
type: openapi-operation
---
Any signed in user. Returns one supplier with its contact details and reliability score. Closing a supplier only clears its active flag, so the row stays readable here by its id.

`GET /api/v1/suppliers/{supplierId}`

**Responses**

- `200` — The supplier
- `401` — Not authenticated
- `404` — Supplier not found

Response example, 200:

```json
{
  "id": "string",
  "name": "string",
  "tax_number": "string",
  "contact_person": "string",
  "phone": "string",
  "email": "string",
  "address": "string",
  "supplier_type": "string",
  "lead_time_days": -9007199254740991,
  "reliability_score": 0,
  "is_active": true,
  "created_at": "string",
  "updated_at": "string"
}
```
