Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
How can we add and update images to a product?
I am able to create and update a product on Drupal using API but I am not able to add images to the product using API, so I am creating a custom module to upload images to Drupal.
How can I achieve my goal? Is there any way by which a get id of the image and add it to the product body?