UpdateCartItems
Magento\QuoteGraphQl\Model\CartItem\DataProvider\UpdateCartItems
What it does
This class processes updates to items in a GraphQL cart, handling quantity changes, customizable options, and gift messages.
Developers use this when implementing the updateCartItems GraphQL mutation to modify existing cart items, delete items (when quantity is 0 or less), or add/update gift messages for individual items.
It validates input data and coordinates between the cart item repository, update services, and gift message services.
Public Methods
- processCartItems()