Parameters
JSON body
Request body
application/jsoncodestringRequiredProduct code the variant belongs to.
Example
my-productvariantCodestringRequiredVariant code to hide.
Example
variant-xlSoft-deletes (hides) a product variant. The variant is removed from the read model and the public API, but preserved in the database and referenced by any existing orders/cart items. Use /restore-product-variant to bring it back.
JSON body
codestringRequiredProduct code the variant belongs to.
my-productvariantCodestringRequiredVariant code to hide.
variant-xl1 status code documented
successbooleanRequiredWhether the variant was hidden.
{
"success": false
}POST /bff/product/delete-product-variant
curl -X POST "https://api.bizkithub.com/bff/product/delete-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.