delete_product_image
Remove a specific image from a product without affecting the product itself. Use when an image was uploaded by mistake or a listing is updated.
Instructions
Remove a specific image from a product. Destructive, idempotent.
Use when an image was uploaded by mistake or the merchant updated their
listing. The product itself is preserved — only the image record and
its file are removed. To remove the product entirely use
delete_product.
Args:
api_key: Partle API key (prefix pk_).
product_id: ID of the product the image belongs to.
image_id: ID of the image to delete. Visible in the images array
of get_product responses.
Returns:
{"deleted_image": image_id} on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | ||
| product_id | Yes | ||
| image_id | Yes |