DocsAPI ReferenceProduct/bff/product/connect-related-product
postProductAdmin BFF

/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

2 total
Body · 2
productCodestringRequired

Product code to add a relation to.

relatedCodestringRequired

Product code of the related product.

Request

POST /bff/product/connect-related-product

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

Get API Key