ProductImage
Delete a product image
Changed onDeletes one image from its product. The image's slot becomes free; the other images keep their ranks. When your company requires every product to have a photo, deleting a product's last image is rejected with a 400; upload the replacement first.
The delete updates the product's updated_datetime and sends a product update webhook.
Required permission: products_permissions_edit (plus access to the product under team restrictions).
delete/public/v1/product-images/{id}
Request
- Base URLhttps://app.distru.com
- AuthHTTP bearer
Path parameters
idstring required
ID of the image, as listed in the product's images. An ID that doesn't exist for your company returns 404.
Response
No Content
Changes
- info
endpoint added
- info