Can a shop refuse to accept coins?

Contrary to popular belief, shops or individuals do have the right to refuse payment in coins or notes, even legal tender ones, before a transaction has t...