Remove a picture from a product
DELETE/v1/materials/:type/:id/pictures/:pictureId
Removes the picture from the product. This cannot be undone. Requires the write:materials scope.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 500
The picture was removed.
validation_error: the body, a path or a query parameter is not valid. message names each problem, e.g. firstName: Required.
missing_api_key or invalid_api_key: no API key was sent, or it is wrong, expired or revoked.
insufficient_scope: the API key does not have the scope this endpoint needs. required names it.
not_found: there is no such product of this type in your catalog, or no such picture of it.
db_error: the database refused or failed the request. message has the details.