Magento Themes and Magento Extensions

Creating Customer Using Magento API


You can able to create a customer using magento API.Here the following code will create a customer in magento.

$client = new SoapClient(‘’);
$session = $client->login(‘xxxx’,'yyyy’);
$customerInfo = array(
‘firstname’ => ‘Anish’,
‘lastname’ => ‘Kumar’,
‘email’ => ‘’,
‘password_hash’ => md5(‘password’),
‘store_id’ => 0,
‘website_id’ => 0
$newCustomerId = $client->call($session, ‘customer.create’,
Check it out in magento(customers->Manage Customers).You will see a customer that you created.

Comments are closed.