Cost of Goods (Selling on Amazon)

Hello,
This is my first year having self employed income. I buy and sell product online. Where do I enter the cost of items purchased?
Where do I enter refunds/damaged product/losses due to customers?

Thank you