Log in
Model

CreateCustomer

Magento\CustomerGraphQl\Model\Resolver\CreateCustomer

What it does

This GraphQL resolver handles customer account creation requests through the GraphQL API.

Developers use this class when implementing the createCustomer mutation, which allows storefront applications to register new customer accounts programmatically.

It validates input data, manages newsletter subscriptions based on store configuration, and returns the newly created customer information.

Public Methods

  • resolve()