Hi all, why we do not have https.patch in NetSuite...
# suitescript
r
Hi all, why we do not have https.patch in NetSuite N/https module? Need to send "Patch" request to update the attributes in MS Dynamics CRM system. The "Put" option is not allowed in the CRM system, due to security reasons. Is there any workaround for this please. Thanks
s
You may have to add an outside relay service to make that call. Although that means involving another moving part, it can be pretty simple using one of the cloud function providers (e.g. MS, Google, Amazon)
e
I am running into the same problem with updating our systems to use a vendors updated API. They are requiring / wanting PATCH instead of POST or PUT to update records.
r
Yes, what do we do if we absolutely need PATCH from NetSuite to other integration systems? Please suggest. Thanks
e
Still trying to figure this out, but NetSuite offers one option with SuiteAnswer 37768. https://suiteanswers.custhelp.com/app/answers/detail/a_id/37768/loc/en_US Use the “*X-HTTP-Method-Override”* in the request header to fake a “PATCH” method. I tried this today and our third party vendor does not recognize or honor the override header setting. So I am back at square one. Also, contact NS Support to vote for Enhancement: 479994 Request for Additional HTTP Methods
I am now looking at the implementation of using a HTTP Proxy to relay from NS->Proxy->Third party in order to use the PATCH request method
s
exactly
r
Yes, have tried this option - “*X-HTTP-Method-Override”* in the request header to fake a “PATCH” method. But same issue, the 3rd party vendor does not recognize it. Thanks
291 Views