Log in
Interface

ProductLinkManagementInterface

Magento\Bundle\Api\ProductLinkManagementInterface

What it does

This interface defines the contract for managing child products within Bundle product options in Magento 2.

Developers use this to programmatically retrieve, add, update, or remove products that are part of a bundle's selectable options, enabling dynamic bundle product configuration through the API layer.

Public Methods

  • getChildren()
  • addChildByProductSku()
  • saveChild()
  • addChild()
  • removeChild()