Stocks to Sales Channel Mapping - magento/inventory GitHub Wiki
Story
As a Merchant, I want Magento to provide an ability assigning Stocks to Sales channels. The simplest example of sales channel is Magento website. So that, Magento should provide an ability to assign Websites to Stocks from the Stock Grid as well as dedicated APIs for this assignment manipulation. The website is not the only example of possible Sales Channels being used. It should be possible to introduce and use another sales channels, like CustomerGroup, StoreView etc. depending on Merchant's business model.
Business Value
As users of the system (customers) always make some actions in the scope of particular Sales Channel. Magento needs to provide an ability to Resolve a Stock based on the current Scope. To proceed with all the inventory operations on that Stock.
Scenarios
A customer comes to Default website, the system resolves Stock assigned to the Default Website, i.e. Default Stock and return it. After that Magento uses given Stock_id for all the Inventory operations on Catalog and Checkout.
Acceptance Criteria
- Merchant Can Assign Websites on Stocks
- 3rd party developers could introduce own Sales channels (i.e. Customer Group, Store View etc.)
- Provide APIs to resolve current Scope (Sales Channel) to Stock