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!
NSC | Default Shipping Address Creation in REST Web Services
Scenario:
A user desires to establish a new AddressBook entry and designate it as the default shipping address through REST Web Services within a Customer record.
Solution:
Below is a sample REST Request/payload illustrating the process of creating a basic address entry with default shipping setting within a Customer record using PATCH operation in REST Web Services
{
"addressbook": {
"items": [{
"defaultShipping": true,
"label": "REST Sample Label",
"addressBookAddress": {
"addr1": "Ayala",
"city": "Makati",
"zip":"1226",
"country":"PH"
}
}]
}
}
Sample Output:
The sample code described herein is provided on an "as is" basis, without warranty of any kind, to the fullest extent permitted by law. Oracle + NetSuite Inc. does not warrant or guarantee the individual success developers may have in implementing the sample code on their development platforms or in using their own Web server configurations.
Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced
----
- New to NetSuite
- Explore the NSC Webinars Category
- Join our poll and share your ideas! We want to know what you think. Don't forget to comment and make your voice heard!
- Expand your NetSuite knowledge by joining this month'sAsk A Guru Live about Basic Accounting. RSVP on thiseventnow!