Get customer list of the platform vendor

Before you try this endpoint, please confirm you already get auth token from the endpoint Get auth token.

When you run this api with your authorization, the backend will check if you are a vendor user with vendor portal access.

Get customer list

GET /vendor/get_customer

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Response

{
    "id": 162,
    "name": "Marco Test",
    "logo": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/img/c454bea7-3651-41c6-9bba-68ffbed5feed-1729478355655.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20250327%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20250327T072102Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=a62649aababcf30f3b2bc330cb0378fb9ae004b8843e79c69fa7b629a98aab8f",
    "customer_list": [
        {
            "id": 42,
            "name": "Testing",
            "logo": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/img/468dd306-d0b4-4e0b-9788-533ae3812c25-1710466827732.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20250327%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20250327T072102Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=b6c62b5f7be3c7e1c6543e81c11f51ad2833fc104594f62553a4f000ef7bc289",
            "is_active": false
        },
        {
            "id": 86,
            "name": "Test Customer",
            "logo": "",
            "is_active": true
        },
        {...}
    ]
}

Last updated