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!
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",