Log in

InventorySalesApi Module

Api\AreProductsSalableForRequestedQtyInterface

Interface

This interface defines a service that checks whether multiple products can be sold in their requested quantities from a specific stock. Developers use...

Api\AreProductsSalableInterface

Interface

This interface defines a service to check if multiple products are available for sale in a specific stock. Developers use this when they need to verif...

Api\Data\IsProductSalableForRequestedQtyRequestInterface

Interface

This interface defines the contract for a request object used to check if a product is available for sale in a specific quantity. Developers use this...

Api\Data\IsProductSalableForRequestedQtyResultInterface

Interface

This interface defines the contract for a result object that determines whether a product can be sold for a requested quantity. Developers use this wh...

Api\Data\IsProductSalableResultInterface

Interface

This interface defines the contract for representing the result of a product salability check in Magento's Multi-Source Inventory system. Developers u...

Api\Data\ItemToSellInterface

Interface

This interface defines a Data Transfer Object (DTO) representing an item to be sold with its SKU and quantity. Developers use this when placing invent...

Api\Data\ProductSalabilityErrorInterface

Interface

This interface defines the contract for error objects that are returned when checking if a product can be sold (salability checks). Developers use thi...

Api\Data\ProductSalableResultInterface

Interface

This interface defines the contract for returning product salability check results in Magento's Multi-Source Inventory system. Developers use this to...

Api\Data\SalesChannelInterface

Interface

This interface defines a sales channel entity that links inventory stocks to sales platforms like websites or customer groups. Developers use this int...

Api\Data\SalesEventInterface

Interface

This interface defines the contract for sales events that trigger inventory reservations in Magento's Multi-Source Inventory (MSI) system. Developers...

Api\GetProductSalableQtyInterface

Interface

This interface defines a service that calculates the actual quantity of a product available for sale by considering the stock quantity, existing reser...

Api\GetStockBySalesChannelInterface

Interface

This interface defines a service that retrieves the inventory stock assigned to a specific sales channel (like a website or store). Developers use thi...

Api\IsProductSalableForRequestedQtyInterface

Interface

This interface defines a service to check if a specific quantity of a product is available for sale in a given stock, considering both physical invent...

Api\IsProductSalableInterface

Interface

This interface defines a service to check if a specific product is available for sale in a given stock, considering both stock data and reservations....

Api\PlaceReservationsForSalesEventInterface

Interface

This interface defines a service that creates inventory reservations when sales events occur in Magento 2. Developers use this to reserve stock quanti...

Api\StockResolverInterface

Interface

This interface defines a contract for resolving which inventory stock is linked to a specific sales channel (like a website or store view) in Magento'...

Model\DeleteSalesChannelToStockLinkInterface

Interface

This interface defines a contract for deleting the link between a stock source and a sales channel (like a website or store) in Magento's Multi-Source...

Model\GetAssignedSalesChannelsForStockInterface

Interface

This interface defines a contract for retrieving all sales channels (like websites or stores) that are assigned to a specific inventory stock in Magen...

Model\GetAssignedStockIdForWebsiteInterface

Interface

This interface defines a contract for retrieving the stock ID assigned to a specific website in Magento's Multi-Source Inventory (MSI) system. Develop...

Model\GetIsQtySalableInterface

Interface

This interface defines a service contract for checking if a product's quantity in stock is available for sale. Developers use this to verify product s...

Model\GetSalableQtyInterface

Interface

This interface defines a service for calculating the actual quantity of a product available for sale by SKU and stock ID. It considers existing reserv...

Model\GetSkuFromOrderItemInterface

Interface

This interface defines a contract for retrieving the SKU (Stock Keeping Unit) from an order item in Magento's Multi-Source Inventory (MSI) system. Dev...

Model\GetStockItemDataInterface

Interface

This interface defines a contract for retrieving stock item data for a specific product SKU and stock ID. Developers use this to get inventory informa...

Model\GetStockItemsDataInterface

Interface

This interface defines a contract for retrieving inventory stock item data for multiple products by their SKUs and stock ID. Developers use this when...

Model\ReplaceSalesChannelsForStockInterface

Interface

This interface defines a contract for replacing the sales channels assigned to a specific stock in Magento's Multi-Source Inventory system. Developers...

Model\ReturnProcessor\GetSourceDeductedOrderItemsInterface

Interface

This interface defines a service for retrieving order items that had inventory deducted from specific sources when processing returns. Developers use...

Model\ReturnProcessor\ProcessRefundItemsInterface

Interface

This interface defines the contract for processing refund items in Magento's Multi-Source Inventory system. Developers implement this interface to han...

Model\ReturnProcessor\Request\ItemsToRefundInterface

Interface

This interface defines a Data Transfer Object (DTO) for items being refunded in Magento's Multi-Source Inventory (MSI) system. Developers use this to...

Model\StockByWebsiteIdResolverInterface

Interface

This interface defines a contract for resolving which inventory stock is associated with a given website ID in Magento's Multi-Source Inventory (MSI)...