DocsAPI ReferenceProduct/bff/product/delete-product-variant
postProductAdmin BFF

/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

2 total
Body · 2
codestringRequired

Product code the variant belongs to.

variantCodestringRequired

Variant code to delete.

Request

POST /bff/product/delete-product-variant

post
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.

Get API Key