Supplier or vendor company that provides goods or services. Contains vendor contact information, location, category, performance rating, and active status for procurement and supply chain management.
https://api.mockly.codes/vendors?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/vendorsGet a collection of vendors
/business/vendors/vendors/:idGet a single vendor by ID
/business/vendors/:id/vendors/metaGet resource metadata and schema
/business/vendors/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/vendors?q=laptopGET https://api.mockly.codes/vendors?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 vendors
fetch('https://api.mockly.codes/vendors?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/vendors?count=10'
)
data = response.json()curl "https://api.mockly.codes/vendors?count=10"fetch('https://api.mockly.codes/vendors?nocache=true')idintegerUnique identifier for the vendor record
random_intnamestringOfficial company name of the vendor or supplier
companycontact_personstringFull name of the primary contact person at the vendor company
nameemailstringPrimary business email address for vendor communications
emailemailphonestringPrimary business phone number for vendor inquiries
phoneaddressstringStreet address of the vendor's primary business location
addresscitystringCity where the vendor's business is located
citycountrystringCountry where the vendor operates
countrycategorystringCategory or type of products/services the vendor provides (e.g., IT Services, Office Supplies, Manufacturing)
categoryratingnumberPerformance or quality rating of the vendor, typically on a scale of 1-5
floatactivebooleanWhether the vendor relationship is currently active and orders can be placed
booleancountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request