This endpoint is used to create the new Supplier/Vendor
The following headers should be sent along with the request
Your API Key
Below table list the request parameters which can be sent to create supplier API in JSON format
{info} The request parameters should be sent as a JSON object in the request body
Parameter | Type | Required | Description |
---|---|---|---|
name | String | Yes | Full name of the supplier |
Yes | The email address of the supplier. Must be unique for each supplier | ||
phone | String | Yes | The phone number of the supplier |
contact_person | String | No | The contact person associated with the supplier |
https://dev-fc-api.aymakan.net/api/v1/suppliers
{
"name": "Test Supplier",
"contact_person": "Contact Person Test",
"email": "[email protected]",
"phone": "932329329329"
}
Sample response is added here:
Success:
{
"success": true,
"message": "Your request has been queued",
"data": null,
"meta": null
}