1.a person who purchases goods or services from another; buyer; patron.
2.Informal. a person one has to deal with: a tough customer; a cool customer.
--------------------------------------...
con‧sum‧er /kənˈsumər/ –noun
1.a person or thing that consumes.
2.Economics. a person or organization that uses a commodity or service.
--------------------------------------...
The keywords separating a customer from a consumer is "purchases" and "uses". Hence a customer "purchases" goods and a consumer "uses" them.
https://www.google.com/search?q=Consumer+Tutorial