Model
Item\Repository
Magento\Quote\Model\Quote\Item\Repository
What it does
This repository manages quote (shopping cart) items in Magento 2, providing operations to retrieve all items in a cart, add or update items, and remove items by ID.
Developers use this class when building custom cart functionality, integrations, or extensions that need to programmatically manage shopping cart contents through the API layer.
Public Methods
- getList()
- save()
- deleteById()