createCustomer method

Future<Map<String, dynamic>?> createCustomer({
  1. required String email,
  2. required String password,
  3. required String firstName,
  4. required String lastName,
})

Create a new customer account.

Registers a new customer in the Magento system with the provided information.

email the customer's email address (must be unique) password the customer's password firstName the customer's first name lastName the customer's last name

Returns a map containing the created customer data, or null if creation failed.

Implementation

Future<Map<String, dynamic>?> createCustomer({
  required String email,
  required String password,
  required String firstName,
  required String lastName,
}) {
  throw UnimplementedError('createCustomer() has not been implemented.');
}