Log in
Repository

GuestCartRepositoryInterface

Magento\GiftMessage\Api\GuestCartRepositoryInterface

What it does

This interface defines the contract for managing gift messages on guest shopping carts (carts for non-logged-in users).

Developers use this to retrieve existing gift messages or save new gift messages at the order level for guest checkouts.

It provides API-level operations for guest cart gift message functionality without requiring customer authentication.

Public Methods

  • get()
  • save()