Parameters
JSON body
Request body
application/jsoncodestringRequiredProduct code the variant belongs to.
Example
my-productvariantCodestringRequiredVariant code to restore.
Example
variant-xlReverses a previous hide (soft-delete) — clears the deleted flag and rebuilds the product read model so the variant reappears in the public API.
JSON body
codestringRequiredProduct code the variant belongs to.
my-productvariantCodestringRequiredVariant code to restore.
variant-xl1 status code documented
successbooleanRequiredWhether the variant was restored.
{
"success": false
}POST /bff/product/restore-product-variant
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"
}'All BizKitHub public API endpoints require authentication via API key.