Log in
Model

CustomerWishlistResolver

Magento\WishlistGraphQl\Model\Resolver\CustomerWishlistResolver

What it does

This GraphQL resolver retrieves wishlist data for authenticated customers through Magento's GraphQL API.

It validates that the wishlist feature is enabled and the customer is authorized, then loads and returns the customer's wishlist with its ID, sharing code, updated date, and item count.

Developers use this when building headless or PWA storefronts that need to query customer wishlist information via GraphQL.

Public Methods

  • resolve()