Back to Magento2

Magento_CustomerGraphQl module

app/code/Magento/CustomerGraphQl/README.md

2.4.81.8 KB
Original Source

Magento_CustomerGraphQl module

This module provides type and resolver information for the GraphQl module to generate customer information endpoints.

Installation

Before installing this module, note that the Magento_CustomerGraphQl module is dependent on the following modules:

  • Magento_GraphQl
  • Magento_Customer

Before disabling or uninstalling this module, note that the following modules depend on this module:

  • Magento_WishlistGraphQl

For information about a module installation, see Enable or disable modules.

Extensibility

Extension developers can interact with the Magento_CustomerGraphQl module. For more information about the extension mechanism, see Plugins.

The dependency injection mechanism enables you to override the functionality of the Magento_CustomerGraphQl module.

Additional information

You can get more information about GraphQl in the Adobe Developer documentation.

GraphQl Query

  • customer query - returns information about the logged-in customer, store credit history and customer's wishlist
  • isEmailAvailable query - checks whether the specified email has already been used to create a customer account. A value of true indicates the email address is available, and the customer can use the email address to create an account

Learn more about customer query. Learn more about isEmailAvailable query.