AddProductImage

Adding product's new image.

  • Input data type => object
  • Output data type => object

Input parameters

  1. _session_hash (string)
  2. Required. Session identifier (obtained during login - doLogin)

  3. product_id (integer)
  4. Required. Product identifier.

  5. image (string)
  6. Required. File encoded using base64.

  7. image_filename (string)
  8. Required. Image filename.

  9. is_default (integer)
  10. Specifies whether an image is main / default for a product.

Images have to have .jpg, .png or .gif extension.

Output data

  1. id (integer)
  2. Identifier of created image.