List suppliers
Any signed in user. Returns a page of suppliers sorted by name, each with its contacts. Search matches name and tax number, and the list is active unless is_active is false or all.
GET
/api/v1/suppliersAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Query parameters
searchstringFree text matched against the supplier name and tax number.
is_activestringtrue, false, or all. Defaults to true.
pageintegerOne based page number. Defaults to 1.
page_sizeintegerRows per page, capped at 200. Defaults to 20.
Responses
200
A page of suppliers
totalintegerrequiredmin -9007199254740991 · max 9007199254740991
pageintegerrequiredmin -9007199254740991 · max 9007199254740991
page_sizeintegerrequiredmin -9007199254740991 · max 9007199254740991
itemsobject[]requiredShow propertiesHide properties
Array of
objectidstringrequirednamestringrequiredtax_numberstringrequiredcontact_personstringrequiredphonestringrequiredemailstringrequiredaddressstringrequiredsupplier_typestringrequiredlead_time_daysintegerrequiredmin -9007199254740991 · max 9007199254740991
reliability_scorenumberrequiredis_activebooleanrequiredcreated_atstringrequiredupdated_atstringrequired401
Not authenticated
detailstringrequired