Delete a Product Media item
DELETE
/api/v2/products/{productId}/media/{id}.json
Delete a Product Media item within your product catalogue by its ID.
Scope
Requires the products
OAuth scope.
Parameters
Your request must provide the following URL parameters:
id
required
The ID of your Product Media object |
productId
required
The ID of your Product object |
Request body
Does not require a payload
Success responses
If the Media item was deleted successfully you should receive a response with a 204
status code
and no body.
Error responses
If the Media item could not be deleted you may encounter a response with a 400
, or 404
status
code:
success
A boolean where a value of false means the Media item could not be deleted.
|
status
|