I'm a pretty new developer in CommerceTools and I've been working with this tool for just a few weeks.
At this moment I need to develop a process that should be able to upload all the images related to a product from a folder to commercetools using the JVM API.
I think the best way would be to recover the SKU (eg PROD001ABC) of each product from the CTP database and then use this string to locate in the given folder if there are images containing such SKU in the filename (PROD001ABC_front.jpg, PROD001ABC_side1.jpg, PROD001ABC_side2.jpg, etc.). Once all the product images are located, I want to upload them to CommerceTools using the API.
As I've researched, I think I'd have to use the io.sphere.sdk.products.commands.ProductImageUploadCommand method, but I'm not sure how to get to that point.
I'm really lost.
Thanks so much for any help
Best regards. Miguel