Get vendor details
GET/vendors/:vendorId
Returns the full record for a single vendor, including their tax identification number, payment terms, all contact persons (with primary contact flagged), and all addresses (billing, shipping, or both). Use this to sync vendor master data into your accounting or procurement systems.
Request
Response
- 200
- 401
- 404
Full vendor details
Unauthorized — missing or invalid API key
Resource not found
Response
{
"id": "3054",
"name": "Pacific Ingredients Co.",
"status": "active",
"purchaseOrderCount": 23,
"lastPurchaseOrderDate": "2025-09-15",
"taxIdentificationNumber": null,
"paymentTerms": "Net 30",
"contacts": [
{
"name": "Maria Torres",
"email": "maria.torres@pacificingredients.com",
"phone": "+1-555-0198",
"isPrimary": true
}
],
"addresses": [
{
"addressType": "both",
"street": "742 Industrial Parkway",
"city": "Portland",
"state": "OR",
"zipCode": "97201",
"country": "US",
"isPrimary": true
}
]
}