Product Management API

Delete image from product

Changed on

Deletes a specific image resource from a product. The image is identified by the product reference ID, upload type, locale, and path to delete. This operation permanently removes the image from the product and cannot be undone.

post/products/v1/resources/image/delete

Request

Request body

productRefIdstring required

Product reference ID from which the image should be deleted

uploadType'PROFILE_LOGO' | 'MYAPPS_LOGO' | 'LISTING_LOGO' | 'LISTING_AND_MYAPPS_LOGO' | 'OVERVIEW' | 'SCREENSHOT' | 'FEATURE' required

Type of upload that specifies where the image is used

localestring required

Locale for the image (ISO 639-1 language code with optional country code)

pathToDeletestring required

Path to the specific image file that should be deleted

Example request

{
  "productRefId": "c0e98d88-bc85-4578-b953-fdede4235b5c",
  "uploadType": "LISTING_LOGO",
  "locale": "en_US",
  "pathToDelete": "/images/logo.png"
}

Response

Image deleted successfully

Changes