Deletes product's image. If removeReference parameter is not present or set to false and if image is referenced
as variant image, then image won't be deleted and response will have status code 409 Conflict.
If removeReference is set to true, then this reference will be removed with the image.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/products/{guid}/images/{gallery}/{imageName}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/products/{guid}/images/{gallery}/{imageName}
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X DELETE \
'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/products/92d77e60-7481-11e8-8216-002590dad85e/images/shop/52.png?removeReference=true' \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'Response
{ "data": {}, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }