Log in
Model

UpdateCustomerEmail

Magento\CustomerGraphQl\Model\Resolver\UpdateCustomerEmail

What it does

This GraphQL resolver handles customer email update mutations in Magento 2.

Developers use this class when implementing GraphQL endpoints that allow authenticated customers to change their email address by providing their current password for verification.

It validates customer authorization, updates the email in the customer account, and returns the updated customer data.

Public Methods

  • resolve()