Log in
Repository

GuestCartItemRepositoryInterface

Magento\Quote\Api\GuestCartItemRepositoryInterface

What it does

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

Developers use this to retrieve, add, update, or remove items from a guest's shopping cart through API calls.

It's essential for building checkout flows and cart management features for anonymous users in headless or custom Magento implementations.

Public Methods

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