CatalogInventoryGraphQl Module

Error\MessageFormatters\StockStateExceptionMessageFormatter

Helper

This helper class formats error messages specifically for stock/inventory exceptions in GraphQL API responses. When a StockStateException occurs (like...

Resolver\MaxSaleQtyResolver

Model

This GraphQL resolver retrieves the maximum sale quantity allowed for a product in Magento's inventory system. Developers use this class when they nee...

Resolver\MinSaleQtyResolver

Model

This GraphQL resolver retrieves the minimum sale quantity allowed for a product's stock item. Developers use this class when implementing GraphQL quer...

Resolver\NotAvailableMessageResolver

Model

This resolver provides a message to shoppers when requested product quantities are unavailable in their cart via GraphQL. It checks product availabili...

Resolver\OnlyXLeftInStockResolver

Model

This resolver provides the 'only X left in stock' quantity for products in GraphQL queries. It checks the store configuration threshold and returns th...

Resolver\QuantityResolver

Model

This resolver provides product quantity/stock information for GraphQL queries in Magento 2. It determines how to display available product quantities...

Resolver\StockStatusProvider

Model

This GraphQL resolver determines and returns the stock status (IN_STOCK or OUT_OF_STOCK) for products in GraphQL queries. Developers use this class wh...

StockItemService

Model

This service retrieves stock/inventory information for products in GraphQL queries. Developers use it to get inventory data like quantity and availabi...