0

I need to post custom customer attribute data using soap api. I am passing the array in api

My array

$customerdata = ['customer'=>
                             [
                              'email'=> 'customer-mail12344547866@example.org',
                              'firstname' => 'Dough',
                              'lastname' => 'Deeks',
                              'website_id' => 1,
                              'store_id' => 1,
                              'group_id' => 4,
                              "custom_attributes" => [
                                  ["attribute_code" => "local_store_id",
                                      "value" => 897897123,

                                  ],
                                  ["attribute_code" => "rms_id",
                                      "value" => 897897123,

                                  ],
                              ],
                             ]
                ];
                echo "<pre>";
                print_r($customerdata);
                die();

enter image description here

And in response, i need this output

enter image description here

  • what do you mean ? you need the same output or you need the same output format? – fmsthird Apr 19 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.