Get vendor users 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_vendor_user
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Response
{
"id": 162,
"name": "Marco Test",
"vendor_user_list": [
{
"id": 2843,
"access_vendor_portal": false,
"name": "Vendor User 3",
"platform_email": "[email protected]"
},
{
"id": 4927,
"access_vendor_portal": false,
"name": "Test 2",
"platform_email": "[email protected]"
},
{
...
}
]
}//if auth user don't have vendor portal access or auth user is not a vendor user
{"code":"ERROR_FATAL","message":"Access Denied","payload":""}
{
"error": "Invalid request"
}Last updated