Returns information about a product image.


  • id GET

    Image ID.

  • size GET Optional

    Size of image thumbnail size to be returned in array item 'url_thumb'. If not specified, size '200x0' is used.

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Return value

Image data array containing values with the following keys:

  • id int.
  • description string.
  • height int Height in pixels.
  • width int Width in pixels.
  • size int File size in bytes.
  • sort int Sort order starting with 0.
  • product_id int ID of the product for which the image is uploaded.
  • upload_datetime datetime Image upload date and time.
  • url_thumb string URL of the image thumbnail with size specified in GET parameter 'size'.
  • url_big string URL of the image thumbnail with size '750x0'.
  • ext string File name extension.