Menu

Get suppliers by Company ID

This endpoint gets the suppliers by Company ID.
To call any /companies endpoints, you need to use a JWT token or an intent token for authorization.

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

Response

{
    "code": 200,
    "message": "OK; suppliers found.",
    "data": [
        {
            "email": "string",
            "name": "string",
            "contact_person": "string",
            "id": "int",
            "coc_number": "string",
            "vat_number": "string",
            "website": "string",
            "phone_number": "string"
        }
    ],
    "links": {},
    "errors": []
}

Possible responses


200 OK; Suppliers found.

404 Company not found.

404 No suppliers found.

Menu