Skip to main content
Skip table of contents

Accept URL for the images[] field for /api/v2/product/set endpoint

After this enhancement we now allow clients to pass URLs in the images[] field for /api/v2/product/set endpoint, which will allow them to create/update products using image URLs.

Criteria for successful testing:-

  • When the image URL is passed in the images[] field for /api/v2/product/set, then the image in the URL should be successfully attached to the product.

  • If multiple image URLs are to be passed in the images[] field (with each URL being as separate key-value pair) for /api/v2/product/set, then all images in the URLs should be successfully added to the product.

Sample Request of product with a single image:-

How it reflects on the web:-

To pass multuple images in one request, url have to be passed as a separate key-value pair with images[] as the key and url as the value.

Sample Request of product with multiple images:-

How it reflects on the web:-

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.