Adding a new image to the product.

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

Input parameters

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

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

  5. image (string)
  6. Required. File encoded with base64 method

  7. image_filename (string)
  8. Required. File name with image must have .jpg, .png or .gif extension

  9. is_default (integer)

Output data

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