As Orlove noted, barter may occur in commercial economies, usually during periods of monetary crisis. During such a crisis, currency may be in short supply, or highly devalued through hyperinflation. In such cases, money ceases to be the universal medium of exchange or standard of value. Money may be in such short supply that it becomes an item of barter itself rather than the means of exchange. Barter may also occur when people cannot afford to keep money (as when hyperinflation quickly devalues it).
The history of bartering dates all the way back to 6000 BC. Introduced by Mesopotamia tribes, bartering was adopted by Phoenicians. Phoenicians bartered goods to those located in various other cities across oceans. Babylonian's also developed an improved bartering system. Goods were exchanged for food, tea, weapons, and spices. At times, human skulls were used as well. Salt was another popular item exchanged. Salt was so valuable that Roman soldiers' salaries were paid with it. In the Middle Ages, Europeans traveled around the globe to barter crafts and furs in exchange for silks and perfumes. Colonial Americans exchanged musket balls, deer skins, and wheat. When money was invented, bartering did not end, it become more organized.
This sort of scenario was so undesirable that societies must have created money to facilitate trade, argues Smith. Aristotle had similar ideas, and they’re by now a fixture in just about every introductory economics textbook. “In simple, early economies, people engaged in barter,” reads one. (“The American Indian with a pony to dispose of had to wait until he met another Indian who wanted a pony and at the same time was able and willing to give for it a blanket or other commodity that he himself desired,” read an earlier one.)
Although, as a general case, a ship unlucky in falling in with whales continues to cruise after them until she has barely sufficient provisions remaining to take her home, turning round then quietly and making the best of her way to her friends, yet there are instances when even this natural obstacle to the further prosecution of the voyage is overcome by headstrong captains, who, bartering the fruits of their hard-earned toils for a new supply of provisions in some of the ports of Chili or Peru, begin the voyage afresh with unabated zeal and perseverance.