Update a record
PATCH/query/:object/:recordId
Changes only the fields in the body and leaves the rest of the record untouched.
There is deliberately no PUT: it would mean "replace the whole record", so every
field you did not send would be wiped.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
Updated.
The request could not be completed. The error field says what to change. A field the
key may not write, or the user may not edit, is named rather than silently dropped;
a validation rule in your own org is passed back word for word.
Not authorised. The Client ID is unknown, the Secret does not match, the key has been revoked, or the portal user is inactive — the answer is deliberately the same for all of them, so the endpoint cannot be used to work out which.
The object, or the operation on it, is not available to this key. The same answer is given whether the administrator never granted it or the portal user has since lost the permission, so refusals cannot be used to map out what was configured.
No such record. Returned both for a record that never existed and for one that exists but this key's user may not see — otherwise the API would confirm the existence of records the caller is not allowed to know about.
Too many requests this hour. Reads and writes have separate ceilings, counted per portal user over a rolling hour — 500 reads and 100 writes by default.
Response Headers
Seconds to wait before trying again.