Admin/Vendor
Vendors info.
STAGING_URL: https://switchapi3.azurewebsites.net
LIVE_URL: https://switchapi.azurewebsites.net
Get Vendors
GET
https://switchapi3.azurewebsites.net/admin/vendors
This endpoint retrieves the vendors.
Query Parameters
Name
Type
Description
is_verified
string
Verification filter.
per_page
string
Defaults to 20.
page
string
Defaults to 1.
Headers
Name
Type
Description
SWI-CID
string
Client ID
Authorization
string
Format for Authorization is Bearer token.
{
"message": "Vendors retrieved successfully",
"data": [
{
"id": "3",
"email": "bolajipemipo+2@gmail.com",
"name": "New Vendor",
"category": "investments",
"is_verified": false
},
{
"id": "2",
"email": "ollaollu+piggybank@gmail.com",
"name": "piggyvest",
"category": "savings",
"is_verified": true
},
{
"id": "1",
"email": "ollaollu+reliance@gmail.com",
"name": "reliance hmo",
"category": "insurance",
"is_verified": true
}
],
"meta": {
"total": 3,
"per_page": 20,
"page": 1,
"page_count": 1
}
}
Last updated
Was this helpful?