Journal Entry Question ( retail industry)

It might be a simple question but I am not really sure how to record this transaction. So this organization buys products from local merchandise and resell those merchandise to customers. How do they record transactions 1. When they buy products from local merchandise? 2. When they sell these products to customers? I have journal entries on my mind but I am not sure I am right.. Will you please give possible journal entries? Thank you! :)