Model
CreateGuestCart
Magento\QuoteGraphQl\Model\Resolver\CreateGuestCart
What it does
This GraphQL resolver creates a new shopping cart for guest (non-logged-in) users.
Developers use this class to handle the GraphQL mutation for creating guest carts, optionally accepting a predefined cart ID.
It validates that the user is not logged in and throws an exception if a customer tries to use it instead of the customer cart query.
Public Methods
- resolve()