Skip to content

Update Vendor

Update an existing vendor in Last Mile Intelligence.

updateVendor

vendor

ParameterTypeRequiredDefaultDescription
Vendor IDstringYes-The ID of the vendor to update
Vendor DataJSONYes-Fields to update
{
"id": "vend_abc123",
"name": "Midwest Fuel Supply LLC",
"contactName": "John Johnson Jr.",
"updatedAt": "2024-06-21T10:30:00Z"
}
{
"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
  • Duplicate Code: New vendor code already exists
  • Permission Denied: API token lacks permission for this operation