curl --request POST \
--url https://api.example.com/api/v1/suppliers \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"documentId": "<string>",
"country": "<string>",
"contactPerson": "<string>",
"email": "<string>",
"phoneNumber": "<string>",
"address": "<string>",
"specialization": "<string>",
"notes": "<string>",
"approvedVendor": false
}
'{
"id": "<string>",
"name": "<string>",
"approvedVendor": true,
"documentId": "<string>",
"country": "<string>",
"contactPerson": "<string>",
"email": "<string>",
"phoneNumber": "<string>",
"address": "<string>",
"specialization": "<string>",
"notes": "<string>",
"createdAt": "<string>"
}Create a new supplier.
curl --request POST \
--url https://api.example.com/api/v1/suppliers \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"documentId": "<string>",
"country": "<string>",
"contactPerson": "<string>",
"email": "<string>",
"phoneNumber": "<string>",
"address": "<string>",
"specialization": "<string>",
"notes": "<string>",
"approvedVendor": false
}
'{
"id": "<string>",
"name": "<string>",
"approvedVendor": true,
"documentId": "<string>",
"country": "<string>",
"contactPerson": "<string>",
"email": "<string>",
"phoneNumber": "<string>",
"address": "<string>",
"specialization": "<string>",
"notes": "<string>",
"createdAt": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.vinmake.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response