DocsAPI ReferenceProduct/bff/product/product-image-active-toggle
getProductAdmin BFF

/bff/product/product-image-active-toggle

Toggles the active/inactive status of a gallery image. Inactive images are hidden on the public site but remain in the gallery for re-activation. If the main image is deactivated, the first remaining active image becomes the new main.

ProductgetBffProductProduct-image-active-toggle

Parameters

2 query

2 total
Query · 2
codestringRequired

Product code.

imageIdstringRequired

Blob token of the image to toggle.

Request

GET /bff/product/product-image-active-toggle

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

Response

JSON payload

{
  "success": false
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key