Get a supplier by ID. Admins can retrieve all suppliers. Other users will only see suppliers they're part of.
To call any
/suppliers/{id}
endpoints, you need to use a JWT token or an API token for authorization.
{
"code": 200,
"message": "OK; supplier found.",
"data": {
"contact_person": "string",
"website": "string",
"email": "string",
"id": "int",
"coc_number": "string",
"phone_number": "string",
"name": "string",
"vat_number": "string"
},
"links": {},
"errors": []
}
200
OK; Supplier found.
404
No supplier found.