Merchant vs. vendor

Hi, could anyone please tell me the difference between merchant and vendor? Thanks

.
They both sell, but a vendor is more general-- anyone/any company who sells-- while a merchant is a retailer, usually a shopkeeper.
.