Delete product variation image

Delete an image of a specific product variation in an Ecwid store.

Access scopes

Requires the following access scope: update_catalog

Response

A JSON object with the following fields:

FieldTypeDescription
deleteCountnumberThe number of deleted images (1 if the image has been removed, 0 otherwise)

Errors

In case of error, Ecwid responds with an error HTTP status code and, optionally, a JSON-formatted body containing error description

HTTP codes

HTTP StatusDescription
400Request parameters are malformed
402The Product variations are not available on the merchant plan
404Product or variation in request are not found
500Request failed or there was an internal server error while processing a file

Error response body (optional)

FieldTypeDescription
errorMessagestringError message
Language
Click Try It! to start a request and see the response here!