Log in
Model

UpdateCustomerAccount

Magento\CustomerGraphQl\Model\Customer\UpdateCustomerAccount

What it does

This class handles updating customer account information through GraphQL mutations.

Developers use this when implementing custom GraphQL endpoints that need to modify customer data, such as email changes (with password verification), profile updates, and newsletter subscription management.

It enforces validation rules, filters restricted fields, and coordinates with other services to persist changes.

Public Methods

  • execute()