BizKitHub
DocsAPI ReferenceProduct/bff/product/restore-product-variant
postProductAdmin BFF

/bff/product/restore-product-variant

Reverses a previous hide (soft-delete) — clears the deleted flag and rebuilds the product read model so the variant reappears in the public API.

ProductpostBffProductRestore-product-variant

Parameters

JSON body

Request body

application/json
codestringRequired

Product code the variant belongs to.

Examplemy-product
variantCodestringRequired

Variant code to restore.

Examplevariant-xl

Response schema

1 status code documented

200Success
successbooleanRequired

Whether the variant was restored.

Response example

application/json
{
  "success": false
}

Request example

POST /bff/product/restore-product-variant

post
curl -X POST "https://api.bizkithub.com/bff/product/restore-product-variant" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "code": "my-product",
  "variantCode": "variant-xl"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key