Skip to content

Remove an image

DELETE
/products/{product_id}/images/{image_id}
curl --request DELETE \
--url https://api.integration.tryonvirtual.com/v1/products/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/images/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'
product_id
required
string format: uuid
image_id
required
string format: uuid

Deleted

Media typeapplication/json
object
deleted
boolean
Examplegenerated
{
"deleted": true
}

Resource not found (or belongs to another shop)

Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}