/bff/product/connect-related-product
Creates a bidirectional relation between two products. Both products will show each other as related. Regenerates read models for both products.
ProductpostBffProductConnect-related-product
Parameters
2 body
Body · 2
productCodestringRequiredProduct code to add a relation to.
relatedCodestringRequiredProduct code of the related product.
Request
POST /bff/product/connect-related-product
curl -X POST "https://api.bizkithub.com/bff/product/connect-related-product" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"productCode": "my-product",
"relatedCode": "related-product"
}'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.