Skip to content

Get Vendor

Retrieve a single vendor by its ID from Last Mile Intelligence.

getVendor

vendor

ParameterTypeRequiredDefaultDescription
Vendor IDstringYes-The ID of the vendor to retrieve
{
"id": "vend_abc123",
"name": "Midwest Fuel Supply",
"code": "MFS",
"contactName": "John Johnson",
"email": "orders@midwestfuel.com",
"phone": "312-555-0100",
"address": {
"street": "500 Industrial Way",
"city": "Chicago",
"state": "IL",
"zip": "60607"
},
"isActive": true
}
{
"success": false,
"error": "Vendor not found",
"vendorId": "invalid_id"
}
  • Missing API Token: LMI credential is missing API token
  • Vendor Not Found: Vendor with specified ID does not exist
  • Permission Denied: API token lacks permission for this operation