GuestCartItemRepository
Magento\Quote\Model\GuestCart\GuestCartItemRepository
What it does
This class manages shopping cart items for guest (non-logged-in) customers in Magento 2.
It acts as a wrapper around the standard CartItemRepository, converting masked cart IDs (used for guest carts) to actual quote IDs before performing operations.
Developers use this when building APIs or custom functionality that needs to retrieve, save, or delete items from a guest customer's cart.
Public Methods
- getList()
- save()
- deleteById()