Basic information
POST /{shopId}/products/{productId}/slideshow
  Creates (uploads) an image for the product slideshow. The product slideshow reflects all images uploaded for the product. To determine the slideshow image that should serve as the main image for the product, refer to the respective PATCH endpoint.
Authorisation
OAuth 2.0 Token required with scopes:
products_write
URI parameters
| Name | Type | Description | 
|---|---|---|
| shopId | string | The unique identifier of the shop. Required:  trueExample:  DemoShop | 
| productId | string | The unique identifier of the product. Required:  trueExample:  52F221E0-36F6-DC4E-384A-AC1504050C04 | 
Request body
Media type multipart/form-data
| Name | Type | Description | 
|---|---|---|
| filename | string | The file name must be specified as property  Required:  true | 
| name | string | The  Required:  true | 
| image | file | The image file to be uploaded. This parameter represents the binary-encoded section of the multipart. Required:  true | 
Response attributes
| Name | Type | Description | 
|---|---|---|
| name | string | The name of the slideshow image. | 
| sizes | array of image | The size of the images in the slideshow. | 
Response
HTTP 201
Media type application/json
{
  "name": "logo_small.png",
  "sizes": [
    {
      "classifier": "MediumSmall",
      "url": "http://demo.intern.epages.de/WebRoot/Store/Shops/DemoShop/Products/be_40401/logo_small_ms.png",
      "isZoomEnabled": false
    },
    {
      "classifier": "Thumbnail",
      "url": "http://demo.intern.epages.de/WebRoot/Store/Shops/DemoShop/Products/be_40401/logo_small_xs.png",
      "isZoomEnabled": false
    },
    {
      "classifier": "MediumLarge",
      "url": "http://demo.intern.epages.de/WebRoot/Store/Shops/DemoShop/Products/be_40401/logo_small_ml.png",
      "isZoomEnabled": false
    },
    {
      "classifier": "HotDeal",
      "url": "http://demo.intern.epages.de/WebRoot/Store/Shops/DemoShop/Products/be_40401/logo_small_h.png",
      "isZoomEnabled": false
    },
    {
      "classifier": "Small",
      "url": "http://demo.intern.epages.de/WebRoot/Store/Shops/DemoShop/Products/be_40401/logo_small_s.png",
      "isZoomEnabled": false
    },
    {
      "classifier": "Medium",
      "url": "http://demo.intern.epages.de/WebRoot/Store/Shops/DemoShop/Products/be_40401/logo_small_m.png",
      "isZoomEnabled": false
    },
    {
      "classifier": "Large",
      "url": "http://demo.intern.epages.de/WebRoot/Store/Shops/DemoShop/Products/be_40401/logo_small.png",
      "isZoomEnabled": false
    }
  ]
}
    
  
    
    HTTP 400
Image name is taken. (To replace an image, delete the old one first and then upload the new one.)
HTTP 413
The file size is too large. The entire HTTP body (including multipart headers) must not exceed the defined limit.