Log in
Repository

GuestCartItemRepositoryInterface

Magento\Quote\Api\GuestCartItemRepositoryInterface

What it does

This interface defines operations for managing shopping cart items for guest (non-logged in) customers.

Developers use this to retrieve all items in a guest cart, add or update items, and remove items from the cart.

It's essential for building guest checkout functionality and managing the shopping experience for unauthenticated users through the API.

Public Methods

  • getList()
  • save()
  • deleteById()