Customer custom attributes not saved in admin using soap API magento1.9.2.4

by Jaimin   Last Updated November 23, 2017 13:09 PM

I have created customer custom attributes.But those custom attributes not saved in the admin using the API.

I have created one file in the root.When I run this file only email , firstname , lastname saved but my custom attribute not saving. Please help me as soon as possible.

<?php
    ini_set('display_errors', 1);

    $client = new SoapClient('http://hauserph.nextmp.net/api/v2_soap/?wsdl');

    $session = $client->login('hausertest', 'nvKTbozp8B');

    $result = $client->customerCustomerCreate($session,
    array(
    'email' => 'customer-mail@example.org',
    'firstname' => 'Dough',
     'lastname' => 'Deeks', 
     'fcc_consent' => 'dfgfdgsdfg',
     'password' => 'password',
      'website_id' => 1,
       'store_id' => 1, 
       'group_id' => 1,
       'rp_token' => 'gfhfhfghf',
       'rp_token_created_at' => 'fgdgd',
       'state_license_num' => 'dfgffd',
       'dea_license' => 'dfgfsdgdf',
       'dea_expiredate' => 'fgsdfgdf',
       'state_expiredate' => 'gsdfgsdf'
       )

    );

    echo '<pre>';
    print_r($result);

    ?>


Related Questions


How to check if product is created from SOAP

Updated December 30, 2016 08:03 AM

SOAP connection problems after 1.9.3.0 update

Updated October 23, 2016 09:03 AM


magento soap api how to achieve layered navigation

Updated February 27, 2017 08:09 AM