Discussions
Streamline Invoice Processing with AI-Powered Automation
Use AI-Driven Insights for Faster, Better Planning and Forecasting
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 and WMS Tech
----
- New to NetSuite
- Explore the NSC Webinars Category
- Expand your NetSuite knowledge by joining this month's Ask A Guru Live about SuiteBilling. RSVP on this eventnow!