Read a supplier
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}Authorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Path parameters
supplierIdstringrequiredThe supplier id.
Responses
200
The supplier
idstringrequirednamestringrequiredtax_numberstringrequiredcontact_personstringrequiredphonestringrequiredemailstringrequiredaddressstringrequiredsupplier_typestringrequiredlead_time_daysintegerrequiredmin -9007199254740991 · max 9007199254740991
reliability_scorenumberrequiredis_activebooleanrequiredcreated_atstringrequiredupdated_atstringrequired401
Not authenticated
detailstringrequired404
Supplier not found
detailstringrequired