Log in
Model

SaveCustomer

Magento\CustomerGraphQl\Model\Customer\SaveCustomer

What it does

This class handles saving customer data in GraphQL operations by wrapping the standard CustomerRepository save method.

It converts standard Magento exceptions into GraphQL-specific exceptions, ensuring proper error handling for GraphQL API responses.

Developers use this when implementing GraphQL mutations that create or update customer accounts.

Public Methods

  • execute()