I would like to know if it is possible to insert or update records using a SOQL query in the REST API. thanks
closed as off-topic by Sebastian Kessel, Jayant Das, glls, Reshma, battery.cord Feb 15 at 14:36
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: SSCCE.org" – Sebastian Kessel, Jayant Das, glls, Reshma, battery.cord
SOQL is inherently read-only. It cannot be used to update records in any context.
You can manipulate records by sending appropriate HTTP requests to the relevant REST API resources for adding, updating, and deleting sObjects.