Menu

Get Suppliers By Id

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.

GET https://api-staging-v2.logyx.it/v1/suppliers/{id}

Response

{
    "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": []
}

Possible responses


200 OK; Supplier found.

404 No supplier found.

Menu