Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
REST API: PATCH request on Customer object results in *MORE* addresses being added
Hi,
We are trying to do a PATCH request to update an existing customer, and it is working correctly (response code is 204), but every time we do it, NetSuite is adding new AddressBook entries instead of updating the existing entries - the result is the customer ends up with more and more AddressBook entries.
Here is the JSON data we are sending:
{"email":"3m@3m.com","firstName":"Prasanna M Mehta","lastName":"","isinactive":false,"mobilePhone":"526 8426 1095","url":"https:\/\/gooe.c.com","companyname":"3MM2-TaralTest","subsidiary":{"id":"1"},"addressbook":{"items":[{"addressbookaddress":{"id":244887,"addressee":"Default Shipping","addr1":"Main Warehouse Another status 12345","addr2":"3000 Industrial Pkwy"}},{"addressbookaddress":{"id":245124,"addressee":"Secondary Office","addr1":"123 Main St","addr2":"Suite 400"}},{"addressbookaddress":{"id":245125,"addressee":"Default Billing","addr1":"Corporate Headquarters","addr2":"500 Broadway"}}]}}