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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
REST API: Error with PATCH/PUT
We are successfully doing POST requests to create new entities in NetSuite (eg. create a new Contact), but we are getting an error message when trying to modify an existing Contact with either a PATCH or PUT request (according to the documentation both should be valid).
The data we are sending:
{
"email":"3m@3m.com",
"firstName":"Prasanna",
"lastName":"Mehta",
"isinactive":false,
"mobilePhone":"526 8426 1095",
"url":"https:\/\/google.com",
"companyname":"3MM2",
"entityId":"3MM2",
"subsidiary":{"id":"1"}
}
(we have tried both in JSON and Array format)
The response we are receiving:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title":"Bad Request",
Tagged:
0