BizKitHub
DocsAPI ReferenceProduct/bff/product/product-image-delete
getProductAdmin BFF

/bff/product/product-image-delete

Soft-deletes an image from the product gallery (sets deleted flag, does not remove the blob). If the deleted image was the main image, the first remaining active image becomes the new main.

ProductgetBffProductProduct-image-delete

Parameters

2 query

Query parameters

· 2
codestringRequired

Product code.

Examplemy-product
imageIdstringRequired

Blob token of the image to delete.

Exampleabc123def456

Response schema

1 status code documented

200Success
successbooleanRequired

Whether the deletion was successful.

Response example

application/json
{
  "success": false
}

Request example

GET /bff/product/product-image-delete

get
curl -X GET "https://api.bizkithub.com/bff/product/product-image-delete?code=my-product&imageId=abc123def456" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key