/bff/product/delete-product-variant
Soft-deletes a product variant (sets deleted flag). The variant will no longer appear in public feeds.
ProductpostBffProductDelete-product-variant
Parameters
2 body
Body · 2
codestringRequiredProduct code the variant belongs to.
variantCodestringRequiredVariant code to delete.
Request
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"
}'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.