How to add product image via suiteCRM API

Hi
Anyone know how to add product image in product module via API.

Thanks in advance. :slight_smile:

Sorry, I don’t know…

But then I got curious and tried adding an image to a product via the UI, and the table “aos_products” seems to have a column called “product_image” which gets filled with a value like this:

http://myserver.mycompany.com/upload/image.ico

And that file is found in my upload directory with its normal name (which is unusual in SuiteCRM, the rest of the stuff in that directory gets renamed to a UID…).

So I would start by trying to use the API to set that field “product_image”. Of, course, you need some way of putting the file into the upload directory…

Good luck! And then please come back and tell us how you did it.