I want to send updates to Salesforce and they give...
# suitescript
n
I want to send updates to Salesforce and they give this curl example. I have the connection and queries working but I 'm not sure which netsuite API I would use for attaching the JSON file. Would https.put(options) be the best way or another way?
<https://yourInstance.salesforce.com/services/data/v52.0/sobjects/Account/001D000000IroHJ>
-H "Authorization: Bearer access_token" -H "X-PrettyPrint:1" -H "Content-Type:
application/json" --data-binary *@patchaccount.json* -X PATCH
b
look for alternatives, patch is not an option that suitescript supports
other than that, the json goes in the request body
n
cheers.