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!
PUT method on suitetalk.api.netsuite.com/services/rest/record/v1/employee returns "INVALID_METHOD"
Hi,
I'm trying to implement the REST API for the employee endpoint but the PUT Method ( Upsert ) for the employee is not working.
The PATCH method (Just update) works fine on the same endpoint
When I try to call employee/{id} with a PUT method i receive this error.
{
"type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6",
"title": "Method Not Allowed",
"status": 405,
"o:errorDetails": [
{
"detail": "Unsupported HTTP method for the requested resource.",
"o:errorCode": "INVALID_METHOD"
}
]
}
This is the body of the request
{
"firstname": "Test ",
"email": "test@test.com"
}
Am i doing something wrong?
Thanks