Discussions
Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Pop Quiz You only have until October 8, 2024, 2:00 PM ET to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
AI capabilities embedded across the suite help boost productivity and give leaders an edge by helping them analyze data faster and generate unique insights that drive better decision-making. Watch these on-demand webinars to see how our AI capabilities can help you.
Streamline Invoice Processing with AI-Powered Automation
Use AI-Driven Insights for Faster, Better Planning and Forecasting
Streamline Invoice Processing with AI-Powered Automation
Use AI-Driven Insights for Faster, Better Planning and Forecasting
REST API: Updating existing Sales Order without generating new order lines
When updating an existing sales order, we are sending an object like this using a PATCH request to the URL for the order (like https://[ACCOUNT].suitetalk.api.netsuite.com/services/rest/record/v1/salesorder/15123, where the existing sales order internal ID is 15123)
{"total":654,"entity":{"id":"1542"},"salesRep":{"id":"1008"},"item":{"items":[{"rate":109,"amount":654,"quantity":6,"item":{"id":"387"}},{"rate":0,"amount":0,"quantity":1,"item":{"id":"506"}}]}}
But the result adds two NEW line items to the existing order.
What if we want to modify the quantities of the line items that are already there?
Tagged:
0