Model
DeleteSalesChannelToStockLink
Magento\InventorySales\Model\ResourceModel\DeleteSalesChannelToStockLink
What it does
This class removes the link between a sales channel (like a website or store) and an inventory stock in Magento's Multi-Source Inventory system.
Developers would use this when programmatically unlinking a stock source from a sales channel, such as during custom integrations or when restructuring inventory assignments across different stores or websites.
Public Methods
- execute()