Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Adding Multiple Addresses in Customer Upload or Update
The PHP toolkit gives an example if you're adding one address, but I need some example code if you're adding two. The example code so far is:
[PHP] 'addressbookList' => array (
'addressbook' => array(
'addr1' => $addr1,
'city' => $city,
'state' => $state,
'zip' => $zip
)
)
[/PHP]
So where to I add the second address if I want to do a billing vs a shipping? Example code would be really helpful.
Thanks!
[PHP] 'addressbookList' => array (
'addressbook' => array(
'addr1' => $addr1,
'city' => $city,
'state' => $state,
'zip' => $zip
)
)
[/PHP]
So where to I add the second address if I want to do a billing vs a shipping? Example code would be really helpful.
Thanks!
0