This API returns the list of all Suppliers/Vendors registered with your account.
The following headers should be sent along with the request
Your API Key
Below table list the request parameters which can be sent to Fetch Suppliers API.
{info} The request parameters should be sent as query parameters in the URL.
Parameter | Type | Required | Description |
---|---|---|---|
per_page | Number | No | How many records you want at a time |
page | Number | No | Page number used for pagination |
https://dev-fc-api.aymakan.net/api/v1/suppliers?page=1&per_page=20
Sample response is added here:
{
"success": true,
"message": "",
"data": [
{
"contact_person": "",
"email": "[email protected]",
"name": "John Doe",
"phone": "1234567890"
}
],
"meta": {
"current_page": 1,
"last_page": 10,
"per_page": 1,
"total": 10
}
}