I'm jumping into this thread late, and it sounds like all the important points have been covered. However, I wanted to add two things.
First, unless you really want to get into photography, don't buy a dSLR. In most cases you'll probably end up with
worse pictures with a dSLR than you would with a smartphone or compact camera unless you really intend to learn to manage depth of field, etc. That's especially true for product photography, where you're working at near-macro distances. A compact camera like the Canon G9 X, or even your smartphone, is more than good enough for posting web-quality pictures on Instagram or "for sale" threads. Spend your money on a good lighting setup, background, and a decent tripod designed for macro photography.
If possible, always shoot RAW due to the added dynamic range and flexibility you get to post process your images. RAW is the original unprocessed, uncompressed file while the JPG has already been processed onboard and compressed.
Second, I'm going to disagree with this suggestion, again unless you really intend to get into photography. RAW captures the data directly from camera's sensor without all the fancy algorithms cameras apply to make the picture look good, under the assumption that you'll apply those changes yourself afterwards, using Adobe Camera RAW or something like that. As with using a dSLR, unless you really want to learn to process RAW files yourself, you're almost certainly going to get better results with JPGs straight out of the camera.
You can manage your need for dynamic range
(the difference between the darkest and brightest areas in the photo, which can appear as areas of pure black and white if the sensor can't capture them) with proper lighting, and as mentioned there are plenty of resources on YouTube, etc., on how to set up lighting for product photography. Likewise, RAW lets you control white balance afterwards
(so colors appear accurate), but if you're setting up a mini studio with controlled lighting, you can set a custom white balance, or find which white balance preset works best with your lighting, and just rely on that.
You can ABSOLUTELY get better photos with a high end camera, good post processing, etc., but there is a steep learning curve, and a relatively high cost of entry, to get into that. Unless you're really interested in photography, I really do think you'd be better of keeping it simple.
Edited to add: just wanted to mention, my advice is coming from my personal experience. When my wife convinced me to get a dSLR (because she wanted "real" photos), my pictures looked like ass for the first year or so. It took a lot of reading, learning, and practice before my dSLR photos were even
as good as what I was getting with a compact camera before. I'd also spent tens of thousands of dollars on equipment - and sold lots of it at a loss - while learning what I needed and what I really didn't.