Log in
Model

CreateCustomerAccount

Magento\CustomerGraphQl\Model\Customer\CreateCustomerAccount

What it does

This class handles the creation of new customer accounts through GraphQL requests.

Developers use this when implementing customer registration functionality in headless or PWA Magento storefronts, as it validates customer data, creates the account, and optionally subscribes the customer to newsletters based on the provided input data.

Public Methods

  • execute()