Image Service

Uploading a new product image

  1. Use the POST products/slideshow endpoint to upload a new image to the slideshow of the product. If you want to replace an existing image, delete that image first using the DELETE products/slideshow/{imageName} endpoint.

  2. After having added a new image to the slideshow, you can assign the image to a product using the PATCH products endpoint. Update the product image by addressing the attribute path productImage.

Example:

  [{
    "op": "add",
    "path": "/productImage",
    "value": "product_picture.png"
  }]