Log in
Repository

GuestItemRepositoryInterface

Magento\GiftMessage\Api\GuestItemRepositoryInterface

What it does

This interface defines API operations for managing gift messages on individual items in a guest user's shopping cart.

Developers use this to retrieve or save gift messages for specific cart items when the customer is not logged in, using the cart ID as authentication instead of a customer ID.

Public Methods

  • get()
  • save()