getSuppliers
READGet suppliers.
POST /api/v1/users/getSuppliers
curl -X POST '<your-host>/api/v1/users/getSuppliers' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"args": {}
}'Response
{
"results": [
{
"active": true,
"user": {
"id": "string",
"fullName": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"avatarUrl": "string"
},
"supplier": {
"name": "string",
"supplierType": {
"name": "string"
}
}
}
],
"count": null
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"args": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100
},
"offset": {
"type": "integer",
"default": 0
},
"search": {
"type": [
"string",
"null"
]
}
}
}
}
}