Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
when adding a customer can't add both shipping and billing addresses
This is my code, it successfully adds one address, but if shipping and billing are different, the soap message (pls see below) in rejected. I figured that it's because the name of the second element in addressbooklist is "__numeric_0" instead of "addressbook" but PHP doesn't allow to have two arrays entries with the same keys. What should I do, pls help!
<?php
require_once('nusoap.php');
require_once('nsLib.php');
$client = new soapclientw('https://localhost:8443/services/NetSuitePort_2_6');
// change if using SoapScope:
// https://webservices.netsuite.com/services/NetSuitePort_2_6
// https://localhost:8443/services/NetSuitePort_2_6
$result = login($client, "***@***.com", "***", "693740", "3");
if ($result['sessionResponse']['status']['!isSuccess'])